UNPKG

playcanvas

Version:

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

14 lines (13 loc) 335 B
var outputTex2D_default = ` varying vUv0: vec2f; var source: texture_2d<f32>; var sourceSampler: sampler; @fragment fn fragmentMain(input : FragmentInput) -> FragmentOutput { var output: FragmentOutput; output.color = textureSample(source, sourceSampler, input.vUv0); return output; } `; export { outputTex2D_default as default };