Complete transition to WebGPU

This commit is contained in:
Fuhrmann 2025-04-11 09:40:35 +02:00
parent 4dadaf470c
commit ce20daeee2
3 changed files with 11 additions and 32 deletions

View file

@ -75,7 +75,7 @@ const fragmentShader = /*#__PURE__*/ Fn(() => {
.and(positionWorld.y.greaterThanEqual(bounds.z))
.and(positionWorld.y.lessThanEqual(bounds.w)),
() => {
let uv = positionWorld.xy
const uv = positionWorld.xy
.sub(bounds.xz)
.div(bounds.yw.sub(bounds.xz))
.toVar();