godotengine / tps-demo

Godot Third Person Shooter with high quality assets and lighting
Other
1.01k stars 180 forks source link

Main character disappears when global illumination is enabled #146

Open ebraminio opened 2 years ago

ebraminio commented 2 years ago

OS/device including version: Apple M1 Pro on the latest version of Godot, 3.5

Issue description: The character disappears when Global Illumination is enabled.

Screenshots of issue:

image

On

image

Both on High and Low option will not show the character's body. But the character shows up just if I disable global illumination, enabling or disabling other options seem to have no effect.

aidan-j-rhoden commented 2 years ago

I can mostly reproduce this on MacOS and a Linux emulator on Chromebook, both running Godot 3.5.stable. However, for me, the character doesn't disappear; it completely turns black, along with the red robots. Oddly enough, the light from the eyes of both robots are still visible on the black silhouette.

ebraminio commented 2 years ago

Thanks for confirming this, I went double checking this and found enemies also have got half transparent just like the main character only when global illumination is enabled, hopefully that helps you,

image
aaronfranke commented 2 years ago

CC @Calinou

Calinou commented 2 years ago

Can you reproduce this in previous commits of the demo such as https://github.com/godotengine/tps-demo/commit/c1c4cc2deed677f7abcb558713aaf7ee7b4be2ab? If so, this is an engine issue.

ebraminio commented 2 years ago

Yes, reproduces with git checkout c1c4cc2deed677f7abcb558713aaf7ee7b4be2ab (and it parent) also, and noticed one extra thing, it only happens with GLES3 backend and not with GLES2 one.

Calinou commented 2 years ago

and noticed one extra thing, it only happens with GLES3 backend and not with GLES2 one.

This is expected, as global illumination (GIProbe) is only supported with GLES3, not GLES2.