11 lines
197 B
GLSL
11 lines
197 B
GLSL
|
uniform sampler2D m_Texture;
|
||
|
varying vec2 texCoord;
|
||
|
|
||
|
uniform float m_Value;
|
||
|
|
||
|
void main() {
|
||
|
vec4 texVal = texture2D(m_Texture, texCoord);
|
||
|
|
||
|
gl_FragColor = texVal * m_Value;
|
||
|
|
||
|
}
|