texturedFragmentShader top-level property
Implementation
final ShaderObject texturedFragmentShader = ShaderObject("TexturedF")
..AddVaryingVars([vTexUV])
..AddUniformVars([uColor, uTexture])
..SetBodyWithMain([
"${oFragColor} = texture(${uTexture}, ${vTexUV}) + vec4( ${uColor}, 0.0 );"
]);