setCustomEyeProjection
Set custom projection matrices for stereoscopic rendering (each eye can have different projection).
All projection matrices must define NDC as -1, 1 on all axes (OpenGL convention). The projectionForCulling matrix must encompass the frustums of all eyes. Call with all eye projections simultaneously.
Parameters
Array of projection matrices (one per eye)
Size of projection array (must be >= stereoscopicEyeCount)
Unified culling frustum encompassing all eyes
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for stereoscopic rendering (each eye can have different projection).
All projection matrices must define NDC as -1, 1 on all axes (OpenGL convention). The projectionForCulling matrix must encompass the frustums of all eyes. Call with all eye projections simultaneously.
Parameters
Array of projection matrices (one per eye)
Size of projection array (must be >= stereoscopicEyeCount)
Unified culling frustum encompassing all eyes
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for stereoscopic rendering (each eye can have different projection).
All projection matrices must define NDC as -1, 1 on all axes (OpenGL convention). The projectionForCulling matrix must encompass the frustums of all eyes. Call with all eye projections simultaneously.
Parameters
Array of projection matrices (one per eye)
Size of projection array (must be >= stereoscopicEyeCount)
Unified culling frustum encompassing all eyes
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for stereoscopic rendering (each eye can have different projection).
All projection matrices must define NDC as -1, 1 on all axes (OpenGL convention). The projectionForCulling matrix must encompass the frustums of all eyes. Call with all eye projections simultaneously.
Parameters
Array of projection matrices (one per eye)
Size of projection array (must be >= stereoscopicEyeCount)
Unified culling frustum encompassing all eyes
Distance to near plane in world units
Distance to far plane in world units (!= near)
Set custom projection matrices for stereoscopic rendering (each eye can have different projection).
All projection matrices must define NDC as -1, 1 on all axes (OpenGL convention). The projectionForCulling matrix must encompass the frustums of all eyes. Call with all eye projections simultaneously.
Parameters
Array of projection matrices (one per eye)
Size of projection array (must be >= stereoscopicEyeCount)
Unified culling frustum encompassing all eyes
Distance to near plane in world units
Distance to far plane in world units (!= near)