variable fragment2dimport { fragment2d } from "https://deno.land/x/caviar@2.1.7/src/renderers/webgl/shader.ts"; type` varying vec4 vColor; varying highp vec2 vTextureCoord; varying lowp float vShaderUsage; uniform sampler2D uSampler; void main(void) { if (vShaderUsage == 0.0) { gl_FragColor = vColor; } else { gl_FragColor = texture2D(uSampler, vTextureCoord); }; } `