mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-02 11:47:56 +03:00
Fixed sampling of shadows
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user