Skip to content

Commit

Permalink
refactor: use new namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Oct 9, 2024
1 parent 0e8ae83 commit 12b5f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Shaders/ISFullScreenVR.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ PS_OUTPUT main(PS_INPUT input)
float2 uv = input.TexCoord; // Get the UV coordinates from input.

// Convert UV to normalized screen space [-1, 1].
float2 normalizedScreenCoord = ConvertUVToNormalizedScreenSpace(uv);
float2 normalizedScreenCoord = VR::ConvertUVToNormalizedScreenSpace(uv);

// Calculate the length of the normalized screen coordinates.
float normalizedLength = saturate(Params1.x * (length(normalizedScreenCoord) - Params1.y) * Params0.x);
Expand Down

0 comments on commit 12b5f45

Please sign in to comment.