UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

20 lines (17 loc) 394 B
var fullscreenQuad_default = ( /* wgsl */ ` attribute vertex_position: vec2f; varying vUv0: vec2f; @vertex fn vertexMain(input: VertexInput) -> VertexOutput { var output: VertexOutput; output.position = vec4f(input.vertex_position, 0.5, 1.0); output.vUv0 = input.vertex_position.xy * 0.5 + vec2f(0.5); return output; } ` ); export { fullscreenQuad_default as default };