-
Is there any way in Filament to fool with depth the way OpenGL's |
Beta Was this translation helpful? Give feedback.
Answered by
romainguy
May 18, 2021
Replies: 2 comments 1 reply
-
There is not, no. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jwwalker
-
@romainguy It turns out that it is possible to emulate material.clipSpaceTransform[3][2] = materialParams.depthRange.x +
materialParams.depthRange.y - 1.0;
material.clipSpaceTransform[2][2] = materialParams.depthRange.y -
materialParams.depthRange.x; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is not, no.