Constant shaders_graphics2d::textured::FRAGMENT_GLSL_120_WEBGL
[−]
[src]
pub const FRAGMENT_GLSL_120_WEBGL: &'static [u8]=
b"precision mediump float;\nuniform sampler2D s_texture;\nuniform vec4 color;\n\nvarying vec2 v_UV;\n\nvoid main()\n{\n gl_FragColor = texture2D(s_texture, v_UV) * color;\n}\n"
Fragment shader for GLSL 1.20