Open BastiaanOlij opened 8 months ago
Hello,
Hope people don't mind that I try to investigate this. Currently working on a school project where I need to contribute to an open source project.
Hope people don't mind that I try to investigate this. Currently working on a school project where I need to contribute to an open source project.
Feel free to open a pull request for this 🙂
Hello, I cannot seem to replicate this issue. Is this using the 3D directional light? Are you able to replicate this on a new empty project?
after updating from 4.1 to 4.2-stable I started to experiment this issue every time I open my project:
drivers/gles3/rasterizer_gles3.cpp:176 - GL ERROR: Source: OpenGL Type: Undefined behavior ID: 131222 Severity: Medium Message: Program undefined behavior warning: The current GL state uses a sampler (0) that has depth comparisons enabled, with a texture object (1020) with a depth format, by a shader that samples it with a non-shadow sampler. Using this state to sample would result in undefined behavior
I have a 2D project and I don't use directional light anywhere..
First time I've touched Godot in a little while, but just reporting that I've been getting this same error & it completely prevents me from using the OpenGL renderer on my system.
Node2D
to the current scene.OR
In each case, the popup that appears will have zero content and then the entire Godot process (editor & popups) stop responding.
Tested with 4.2.1 stable and 4.3.0-dev.5 (mono releases)
Godot version
4.2.dev 5ee983188de97ae027f9b9c1443438063f708a7e
System information
Windows - OpenGL
Issue description
I may have introduced this in the work I'm doing right now but just in case this is a more serious issue I don't want to loose track of it. Don't have time to investigate it right now.
In
LightStorage::update_directional_shadow_atlas
the code:Results in:
(edited for readability)
Steps to reproduce
Create a project using the compatibility renderer with a directional light, and turn it on.
Minimal reproduction project
n/a