From 5c694f159b012d1d94bf15bfe580dec52e4fe797 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sat, 14 Mar 2015 20:40:49 +0000 Subject: Gem osx/x86_64 built '' for osx/x86_64 --- Gem/examples/10.glsl/geo.frag | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Gem/examples/10.glsl/geo.frag (limited to 'Gem/examples/10.glsl/geo.frag') diff --git a/Gem/examples/10.glsl/geo.frag b/Gem/examples/10.glsl/geo.frag new file mode 100644 index 0000000..7ec0b43 --- /dev/null +++ b/Gem/examples/10.glsl/geo.frag @@ -0,0 +1,8 @@ +void main() +{ + vec4 tmp = gl_Color; + tmp.a /= 10.; + gl_FragColor = tmp; + // set color but alpha is 20 time less +} + -- cgit v1.2.1