You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constsamplingDirection=directionIsRight.equal(true).select(vec2(1,-1),vec2(-1,1));// Port note: Because of different uv conventions, uv-y has a different sign
475
+
constuvDirection=directionIsRight.equal(true).select(vec2(1,-1),vec2(-1,1));// Port note: Because of different uv conventions, uv-y has a different sign
frontBackHorizon=clamp(div(mul(samplingDirection,vec2(frontBackHorizon.x.negate(),frontBackHorizon.y)).sub(n.sub(HALF_PI)),PI));// Port note: This line also required an update because of different uv conventions
0 commit comments