Unity Products:Amplify Shader Editor/Projection Matrices
Jump to navigation
Jump to search
Projection Matrices Node
The Projection Matrices outputs either the current camera projection matrix or its inverse according to the selected Projection Matrix option.
NOTE 1: We advise using either the Transform Position or Transform Direction as they are easier to use and you wont need to do an explicit multiplication between matrix and position/direction value.
NOTE 2: These matrices are the equivalent to the Camera component's projection matrices. and are always the main camera's projection matrix and always use OpenGL's projection matrix layout.
For the current projection matrix set on rendering you can use this node, and for Inverse Projection matrix you can use this node.
Node Parameter | Description | Default Value |
---|---|---|
Projection Matrix | Select which matrix is to be outputted.
|
Camera Projection |
Output Port | Description | Type |
---|---|---|
Out | Selected camera projection matrix. | Matrix4x4 |