ho3/resources/shaders/texonly.fragment
Vladislav Khorev d132060e19 Resurrection
2024-06-06 16:25:38 +03:00

11 lines
199 B
Plaintext

uniform sampler2D Texture;
varying vec2 texCoord;
void main()
{
vec4 texColor = texture2D(Texture,texCoord).rgba;
gl_FragColor = vec4(texColor.rgb,gl_FrontMaterial.diffuse.a * texColor.a);
}