Godot 3.1 GLES2 not working
websterek opened this issue · 3 comments
websterek commented
Sadly Shader is not working with GLES2 in latest Godot 3.1 :(
For reproduction perfect is provided in repo example file and changing GLES version.
Greetings!
leopoldek commented
If it works in GLES3 but not GLES2 then it probably isn't supported by GLES2 (probably because depth texture isn't supported). Otherwise, it's an engine bug, which I doubt.
leopoldek commented
Another reason could be because textureLod(...)
is not supported in the fragment shader.
leopoldek commented
Ah ok it seems its because inverse(...)
is unsupported in GLES2. I might be able to modify the math to get rid of it but no promises...