UNPKG

playcanvas

Version:

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

20 lines (17 loc) 427 B
var cookie_blit_2d_default = ( /* wgsl */ ` varying uv0: vec2f; var blitTexture: texture_2d<f32>; var blitTextureSampler : sampler; @fragment fn fragmentMain(input : FragmentInput) -> FragmentOutput { var output: FragmentOutput; output.color = textureSample(blitTexture, blitTextureSampler, input.uv0); return output; } ` ); export { cookie_blit_2d_default as default };