Fixed sampling of shadows

This commit is contained in:
korenkonder
2024-05-10 21:54:07 +03:00
parent c1197d9852
commit 90987b1352
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1703,8 +1703,8 @@ static void draw_pass_3d_shadow_set(Shadow* shad, render_context* rctx) {
rctx->obj_scene.g_shadow_ambient1 = 0.0f;
}
gl_state_bind_sampler(6, rctx->render_samplers[0]);
gl_state_bind_sampler(7, rctx->render_samplers[0]);
gl_state_bind_sampler(6, 0);
gl_state_bind_sampler(7, 0);
}
static void draw_pass_3d_translucent(render_context* rctx, bool opaque_enable,