Skip to content

Commit

Permalink
refactor: remove redundant ifdef (doodlum#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse authored Sep 20, 2024
1 parent c418c00 commit c783e19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions package/Shaders/Lighting.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -1237,11 +1237,7 @@ PS_OUTPUT main(PS_INPUT input, bool frontFace
# endif // LANDSCAPE

# if defined(SPARKLE)
# if defined(VR)
diffuseUv = ProjectedUVParams2.yy * (input.TexCoord0.zw + (uv - uvOriginal));
# else
diffuseUv = ProjectedUVParams2.yy * (input.TexCoord0.zw + (uv - uvOriginal));
# endif // VR
# else
diffuseUv = uv;
# endif // SPARKLE
Expand Down

0 comments on commit c783e19

Please sign in to comment.