mirror of
https://github.com/godotengine/godot
synced 2024-09-04 22:18:28 +00:00
Merge pull request #92887 from wojtekpil/fix_compatibility_lm_baking
Fix depth clear value for uv2 baking in compatibility renderer
This commit is contained in:
commit
5833f59786
|
@ -3654,7 +3654,7 @@ void RasterizerSceneGLES3::_render_uv2(const PagedArray<RenderGeometryInstance *
|
||||||
glDrawBuffers(draw_buffers.size(), draw_buffers.ptr());
|
glDrawBuffers(draw_buffers.size(), draw_buffers.ptr());
|
||||||
|
|
||||||
glClearColor(0.0, 0.0, 0.0, 0.0);
|
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);
|
glClear(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
uint64_t base_spec_constant = 0;
|
uint64_t base_spec_constant = 0;
|
||||||
|
|
Loading…
Reference in a new issue