Skip to content

Commit f3e85c2

Browse files
committed
Merge branch 'main' into pr-160
2 parents ecbf0b8 + 07fadf8 commit f3e85c2

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Assets/Nova/Runtime/Core/Shaders/ParticlesUberLit.shader

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,11 @@ Shader "Nova/Particles/UberLit"
288288
#pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS
289289
#pragma multi_compile_fragment _ _ADDITIONAL_LIGHT_SHADOWS
290290
#pragma multi_compile_fragment _ _SHADOWS_SOFT
291+
#if UNITY_VERSION >= 60100001
292+
#pragma multi_compile _ _CLUSTER_LIGHT_LOOP
293+
#else
291294
#pragma multi_compile _ _FORWARD_PLUS
295+
#endif
292296
#include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl"
293297
#if UNITY_VERSION >= 60000000
294298
#pragma multi_compile _ EVALUATE_SH_MIXED EVALUATE_SH_VERTEX

Assets/Nova/Runtime/Core/Shaders/UIParticlesUberLit.shader

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,11 @@ Shader "Nova/UIParticles/UberLit"
293293
#pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS
294294
#pragma multi_compile_fragment _ _ADDITIONAL_LIGHT_SHADOWS
295295
#pragma multi_compile_fragment _ _SHADOWS_SOFT
296+
#if UNITY_VERSION >= 60100001
297+
#pragma multi_compile _ _CLUSTER_LIGHT_LOOP
298+
#else
296299
#pragma multi_compile _ _FORWARD_PLUS
300+
#endif
297301
#include_with_pragmas "Packages/com.unity.render-pipelines.core/ShaderLibrary/FoveatedRenderingKeywords.hlsl"
298302

299303
// Render Settings

0 commit comments

Comments
 (0)