Skip to content

Commit

Permalink
fixed up the GetScreenPosition function
Browse files Browse the repository at this point in the history
  • Loading branch information
orels1 committed Oct 14, 2024
1 parent a4f3a35 commit c1e7292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@
ndc.xy = float2(ndc.x, ndc.y * _ProjectionParams.x) + ndc.w;
ndc.zw = positionCS.zw;

ndc.xy = UnityStereoTransformScreenSpaceTex(ndc.xy);
ndc.xy = TransformStereoScreenSpaceTex(ndc.xy, ndc.w);
return ndc;
}

Expand Down

0 comments on commit c1e7292

Please sign in to comment.