Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Godot 3.1 GLES2 not working #5

Open
websterek opened this issue May 5, 2019 · 3 comments
Open

Godot 3.1 GLES2 not working #5

websterek opened this issue May 5, 2019 · 3 comments

Comments

@websterek
Copy link

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!

@websterek websterek changed the title Godot 3.1 GLES2 Godot 3.1 GLES2 not working May 5, 2019
@leopoldek
Copy link
Owner

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
Copy link
Owner

Another reason could be because textureLod(...) is not supported in the fragment shader.

@leopoldek
Copy link
Owner

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants