diff --git a/Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl b/Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl index 699c77bc9b3..d5c7429d65f 100644 --- a/Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl +++ b/Packages/com.unity.render-pipelines.core/Runtime/PostProcessing/Shaders/LensFlareCommon.hlsl @@ -121,7 +121,7 @@ float GetOcclusion(float ratio) float2 dir = _OcclusionRadius * SampleDiskUniform(Hash(2 * i + 0), Hash(2 * i + 1)); float2 pos0 = _ScreenPos.xy + dir; float2 pos = pos0 * 0.5f + 0.5f; -#ifdef UNITY_UV_STARTS_AT_TOP +#if UNITY_UV_STARTS_AT_TOP pos.y = 1.0f - pos.y; #endif