15 lines
284 B
Text
15 lines
284 B
Text
|
#version 330 core
|
||
|
out vec4 fragColor;
|
||
|
|
||
|
in vec2 passTexCoord;
|
||
|
|
||
|
uniform sampler2D textureAtlas;
|
||
|
|
||
|
void main() {
|
||
|
/*
|
||
|
vec4 texColor = texture(textureAtlas, passTexCoord);
|
||
|
if (texColor.a < 0.1) discard;
|
||
|
fragColor = texColor;
|
||
|
*/
|
||
|
fragColor = vec4(0.9, 0.8, 0.7, 1.0);
|
||
|
}
|