commit
7a914e70b6
3 changed files with 18 additions and 1 deletions
@ -0,0 +1,16 @@ |
||||
#version 140 |
||||
uniform sampler2D sampler; |
||||
uniform vec4 geometryColor; |
||||
|
||||
in vec2 texcoord0; |
||||
|
||||
out vec4 fragColor; |
||||
|
||||
void main() |
||||
{ |
||||
vec4 tex = texture(sampler, texcoord0); |
||||
if (tex.a != 1.0) { |
||||
tex = geometryColor; |
||||
} |
||||
fragColor = tex; |
||||
} |
||||
Loading…
Reference in new issue