Godot: GLES2: Directional light shadows artifacts over max distance

Created on 22 Dec 2019  路  2Comments  路  Source: godotengine/godot

Godot version:
3.2 beta 4

OS/device including version:
Zorin OS 15 (Ubuntu 18.04)

Issue description:
Outside the max range of the directional light shadows there are artifacts, there it should be no shadows at all.
shadowsBug

Steps to reproduce:
Set up a small max range on a directional light shadow

Possible related: #559

bug rendering

Most helpful comment

Linux Mint 18.3. GeForce GTX 750 Ti, driver: nvidia 384.130
Testing with minimal reproduction project: 34529.zip

Can reproduce in 3.2.beta4, 3.2.2.stable, 3.2.3.beta1.

GLES2 only. Only appears on surfaces whose Material has Vertex Lighting enabled (as mentioned above), and when the directional light shadow mode is set to Orthogonal (Fast).

All 2 comments

Alright, digging some more I discovered that this bug only occurs if the material has vertex lighting activated.

Linux Mint 18.3. GeForce GTX 750 Ti, driver: nvidia 384.130
Testing with minimal reproduction project: 34529.zip

Can reproduce in 3.2.beta4, 3.2.2.stable, 3.2.3.beta1.

GLES2 only. Only appears on surfaces whose Material has Vertex Lighting enabled (as mentioned above), and when the directional light shadow mode is set to Orthogonal (Fast).

Was this page helpful?
0 / 5 - 0 ratings