Replies: 1 comment
-
There are different conventions, this transform works OK with Diligent applications. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After replace my own skybox render code with Diligent's
EnvMapRenderer
,I found that the Sky is up-side down.
Looking at
ShaderUtilities.fxh
, i found:It seems that the origin is bottom-left, not the widely used top-left UV origin.
And the sample
Tutorial27_PostProcessing
, flip Y-axis, before sample the environment map.Weird, is it doing this for compatibility with some OpenGL cubemap generation code?
Beta Was this translation helpful? Give feedback.
All reactions