fix normals for sprite lighting
This commit is contained in:
parent
a7b20183f1
commit
b862adb747
9 changed files with 48 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue