Fix stereo plane pass and state
This was introduced on the MSAA fix for transparent passes (61039bf713
).
This commit is contained in:
parent
35a2edf761
commit
0ec98863e2
|
@ -1396,7 +1396,8 @@ static void OBJECT_cache_init(void *vedata)
|
|||
sgl->camera_stereo_volume = shgroup_instance_alpha(sgl->transp_shapes, geom, draw_ctx->sh_cfg);
|
||||
|
||||
geom = DRW_cache_quad_get();
|
||||
sgl->camera_stereo_plane = shgroup_instance_alpha(sgl->non_meshes, geom, draw_ctx->sh_cfg);
|
||||
sgl->camera_stereo_plane = shgroup_instance_alpha(sgl->transp_shapes, geom, draw_ctx->sh_cfg);
|
||||
DRW_shgroup_state_disable(sgl->camera_stereo_plane, DRW_STATE_CULL_FRONT);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue