Godot version:
3.1 stable
OS/device including version:
Windows 10
Issue description:
The spatial material has an option "Do not Receive Shadows". Shadows are rendered onto this mesh even if this option is checked. It's working as intended on GLES3.
GLES2:
GLES3:
Steps to reproduce:
Minimal reproduction project:
It looks like the issue is that the "shadows_disabled" render flag hasn't been implemented in scene.glsl in GLES2. https://github.com/godotengine/godot/blob/master/drivers/gles2/shaders/scene.glsl
Hi, I'm going to try to implement this part
looking at both codes really is not implemented SHADOW_DISABLE, I entered IRC and FreeBDS works, I think bug on windows (I'm a novice and novice contributor in the engine too), but in GLES2 the functions are of SHADOW && Light, so I'm analyzing how to implement
@SouzaGuilherme Are you still working on this issue? If you are not I'd like to pick it up.
Yes, I'm still working on that. I'm having a bad time since I have little shaders knowledge, but i think that 4 days are enough.
Giving news on the issue, I confirm issue # 28171 is related to the current issue. I'm having a bit of trouble, so the delay, any help is welcome!
Most helpful comment
It looks like the issue is that the "shadows_disabled" render flag hasn't been implemented in scene.glsl in GLES2. https://github.com/godotengine/godot/blob/master/drivers/gles2/shaders/scene.glsl