fix normals for sprite lighting

This commit is contained in:
Ricardo Luís Vaz Silva 2025-01-18 14:28:59 -03:00 committed by Magnus Norddahl
commit b862adb747
9 changed files with 48 additions and 25 deletions

View file

@ -330,6 +330,7 @@ void VkRenderState::ApplyRenderPass(int dt)
}
pipelineKey.ShaderKey.ShadeVertex = mShadeVertex;
pipelineKey.ShaderKey.LightNoNormals = mLightNoNormals;
pipelineKey.ShaderKey.UseShadowmap = gl_light_shadows == 1;
pipelineKey.ShaderKey.UseRaytrace = gl_light_shadows >= 2;