first commit for versioning
This commit is contained in:
15
shaders/wmo.frag
Normal file
15
shaders/wmo.frag
Normal file
@@ -0,0 +1,15 @@
|
||||
#version 400 core
|
||||
out vec4 FragColor;
|
||||
|
||||
in vec2 TexCoord;
|
||||
uniform sampler2D texSampler;
|
||||
|
||||
void main() {
|
||||
// sample the texture
|
||||
vec4 texColor = texture(texSampler, TexCoord);
|
||||
|
||||
if (texColor.a < 0.1) discard;
|
||||
|
||||
//FragColor = vec4(0.6, 0.0, 1.0, 1.0);
|
||||
FragColor = texColor;
|
||||
}
|
||||
Reference in New Issue
Block a user