Merge gl_light_shadowmap and gl_light_raytrace cvars as gl_light_shadows
Rename gl_shadowmap_filter to gl_light_shadow_filter as it applies to raytraced shadows as well
This commit is contained in:
parent
9bcef148bf
commit
5e3d6e39a0
10 changed files with 44 additions and 33 deletions
|
|
@ -299,8 +299,8 @@ void VkRenderState::ApplyRenderPass(int dt)
|
|||
pipelineKey.ShaderKey.LightMode = 1; // Software
|
||||
}
|
||||
|
||||
pipelineKey.ShaderKey.UseShadowmap = gl_light_shadowmap;
|
||||
pipelineKey.ShaderKey.UseRaytrace = gl_light_raytrace;
|
||||
pipelineKey.ShaderKey.UseShadowmap = gl_light_shadows == 1;
|
||||
pipelineKey.ShaderKey.UseRaytrace = gl_light_shadows == 2;
|
||||
|
||||
pipelineKey.ShaderKey.GBufferPass = mRenderTarget.DrawBuffers > 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue