You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used your code for an Android project and in OpenGL ES 3.0 the depth texture didn't work until I changed it. I'm very new in OpenGL, but maybe this is helpful.
I'm not sure, but maybe this should look like this:
or
I used your code for an Android project and in OpenGL ES 3.0 the depth texture didn't work until I changed it. I'm very new in OpenGL, but maybe this is helpful.
References:
https://www.khronos.org/opengl/wiki/Common_Mistakes#Depth_Buffer_Precision
https://www.khronos.org/opengl/wiki/Image_Format#Depth_formats
https://stackoverflow.com/questions/37071584/opengl-fbo-depth-format-and-type-confusion
The text was updated successfully, but these errors were encountered: