Skip to content

Commit

Permalink
fix: missing InterleavedGradientNoise change (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentalimbed authored Aug 10, 2024
1 parent 2fa4eef commit 04e5786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Shaders/Lighting.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ PS_OUTPUT main(PS_INPUT input, bool frontFace

float3 viewPosition = mul(CameraView[eyeIndex], float4(input.WorldPosition.xyz, 1)).xyz;
float2 screenUV = ViewToUV(viewPosition, true, eyeIndex);
float screenNoise = InterleavedGradientNoise(screenUV * BufferDim * DynamicResolutionParams1.xy, FrameCount);
float screenNoise = InterleavedGradientNoise(input.Position.xy, FrameCount);

# if defined(TERRAIN_BLENDING)
float depthSampled = GetTerrainOffsetDepth(screenUV, eyeIndex);
Expand Down

0 comments on commit 04e5786

Please sign in to comment.