diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2024-06-08 14:11:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-08 14:11:35 +0200 |
commit | 5833f597865c773fae3ee09fc4e31d4a243f812d (patch) | |
tree | 51699cae09424f9716e7665f78a351d71b9a0bd6 | |
parent | 1ce6df7087113a61491567f3ac55561d5688e2a8 (diff) | |
parent | 53e68ecbd44f0adb206b08e343e86980def3f0ed (diff) | |
download | redot-engine-5833f597865c773fae3ee09fc4e31d4a243f812d.tar.gz |
Merge pull request #92887 from wojtekpil/fix_compatibility_lm_baking
Fix depth clear value for uv2 baking in compatibility renderer
-rw-r--r-- | drivers/gles3/rasterizer_scene_gles3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.cpp b/drivers/gles3/rasterizer_scene_gles3.cpp index 6cbdf5e935..6a51ce6b70 100644 --- a/drivers/gles3/rasterizer_scene_gles3.cpp +++ b/drivers/gles3/rasterizer_scene_gles3.cpp @@ -3654,7 +3654,7 @@ void RasterizerSceneGLES3::_render_uv2(const PagedArray<RenderGeometryInstance * glDrawBuffers(draw_buffers.size(), draw_buffers.ptr()); glClearColor(0.0, 0.0, 0.0, 0.0); - RasterizerGLES3::clear_depth(1.0); + RasterizerGLES3::clear_depth(0.0); glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT); uint64_t base_spec_constant = 0; |