Skip to content

Commit

Permalink
Merge pull request godotengine#92887 from wojtekpil/fix_compatibility…
Browse files Browse the repository at this point in the history
…_lm_baking

Fix depth clear value for uv2 baking in compatibility renderer
  • Loading branch information
akien-mga authored Jun 8, 2024
2 parents 1ce6df7 + 53e68ec commit 5833f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gles3/rasterizer_scene_gles3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5833f59

Please sign in to comment.