blob: 25a2df2d7b74995aa9e87bee711ae207e3f5f352 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2010 JogAmp Community. All rights reserved.
#if __VERSION__ >= 130
#define varying in
out vec4 mgl_FragColor;
#else
#define mgl_FragColor gl_FragColor
#endif
varying vec4 frontColor;
void main (void)
{
mgl_FragColor = vec4(0.0, frontColor.g, frontColor.b, 1.0);
}
|