gpu actor tracing (NOT WORKING)
This commit is contained in:
parent
50e4eb34b2
commit
a7b20183f1
22 changed files with 135 additions and 76 deletions
|
|
@ -329,6 +329,8 @@ void VkRenderState::ApplyRenderPass(int dt)
|
|||
pipelineKey.ShaderKey.LightMode = 1; // Software
|
||||
}
|
||||
|
||||
pipelineKey.ShaderKey.ShadeVertex = mShadeVertex;
|
||||
|
||||
pipelineKey.ShaderKey.UseShadowmap = gl_light_shadows == 1;
|
||||
pipelineKey.ShaderKey.UseRaytrace = gl_light_shadows >= 2;
|
||||
pipelineKey.ShaderKey.UseRaytracePrecise = gl_light_shadows >= 3;
|
||||
|
|
@ -1078,6 +1080,8 @@ void VkRenderState::ApplyLevelMeshPipeline(VulkanCommandBuffer* cmdbuffer, VkPip
|
|||
pipelineKey.ShaderKey.AlphaTestOnly = true;
|
||||
}
|
||||
|
||||
pipelineKey.ShaderKey.ShadeVertex = mShadeVertex;
|
||||
|
||||
// Global state that don't require rebuilding the mesh
|
||||
pipelineKey.ShaderKey.NoFragmentShader = noFragmentShader;
|
||||
pipelineKey.ShaderKey.UseShadowmap = gl_light_shadows == 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue