Method GenerateJitteredProjectionMatrixFromOriginal
GenerateJitteredProjectionMatrixFromOriginal(PostProcessRenderContext, Matrix4x4, Vector2)
Gets a jittered perspective projection matrix from an original projection matrix.
Declaration
public static Matrix4x4 GenerateJitteredProjectionMatrixFromOriginal(PostProcessRenderContext context, Matrix4x4 origProj, Vector2 jitter)
Parameters
Type | Name | Description |
---|---|---|
PostProcessRenderContext | context | The current render context |
Matrix4x4 | origProj | The original projection matrix |
Vector2 | jitter | The jitter offset |
Returns
Type | Description |
---|---|
Matrix4x4 | A jittered projection matrix |