Implement quick shader switch hotkeys

This commit is contained in:
Dynamitos committed 2024-05-23 14:58:14 +02:00
1 parent 8399b176bb
commit e0961bce24
20 files changed
+160 -110

No files matched your search

+2 -2
View File
@@ -98,10 +98,10 @@ void cullLights(ComputeShaderInput in)
{
PointLight light = pLightEnv.pointLights[i];
float3 light_VS = mul(viewMatrix, float4(light.position_WS.xyz, 1.0f)).xyz;
if(light.insideFrustum(groupFrustum, light_VS, nearClipVS, maxDepthVS))
//if(light.insideFrustum(groupFrustum, light_VS, nearClipVS, maxDepthVS))
{
tAppendLight(i);
if(!light.insidePlane(minPlane, light_VS))
//if(!light.insidePlane(minPlane, light_VS))
{
oAppendLight(i);
}