Godot: Shadows get clipped in exported (non-debug) 3D project

Created on 18 Jun 2018  路  6Comments  路  Source: godotengine/godot

Godot version:

v3.0.3.stable.official.e649ec7, x64

OS/device including version:

Windows 10 Home x64, version 10.0.17134 (1803)
Nvidia GTX 1080, driver version 388.59

Issue description:

shadow_export_bug
Shadows work as expected when the game is run from the editor, but shadows in the exported version get clipped like in the above screenshot. Exporting with debug on works fine, disabling debug produces the above effect.

Steps to reproduce:
1) Open project
2) Export a runnable executable using a default Windows desktop template (DEBUG OFF)
3) Run the executable
4) Move camera to examine the issue (WASD to move, QE to rotate, wheel to zoom)

Minimal reproduction project:

ShadowExport.zip

bug rendering

Most helpful comment

This was not assigned to me for some reason, must have skipped it when i went through the issues some months ago, it's now on my list for 3.1

All 6 comments

I've also observed this on windows, nvidia, GLES3. But it didnot happen on GLES2

image

Another note... This happens if the camera is far away enough from the nodes on screen.

You can adjust the PSSM splits to "fix" the issue, but that still doesn't explain the debug/release thing. Default splits on that minimal project, btw.

You can adjust the PSSM splits to "fix" the issue, but that still doesn't explain the debug/release thing. Default splits on that minimal project, btw.

You are right @Dogpot Debug and Release need to be identical or you have to export to see changes for release? Kind of interrupts the workflow.

Also occurs under 3.1 Beta 1

This was not assigned to me for some reason, must have skipped it when i went through the issues some months ago, it's now on my list for 3.1

This actually seems like a weird gcc compiler bug, @hpvb is investigating..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mefihl picture mefihl  路  3Comments

testman42 picture testman42  路  3Comments

gonzo191 picture gonzo191  路  3Comments

RebelliousX picture RebelliousX  路  3Comments

EdwardAngeles picture EdwardAngeles  路  3Comments