Complete transition to WebGPU
This commit is contained in:
parent
4dadaf470c
commit
ce20daeee2
3 changed files with 11 additions and 32 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue