Catching up with Lindies part 2

This commit is contained in:
Siana Gearz
2012-03-25 09:38:36 +02:00
parent 196e9d6c78
commit 3f0f955a76
113 changed files with 801 additions and 516 deletions

View File

@@ -24,7 +24,9 @@
*/
#ifdef DEFINE_GL_FRAGCOLOR
out vec4 gl_FragColor;
out vec4 frag_color;
#else
#define frag_color gl_FragColor
#endif
/////////////////////////////////////////////////////////////////////////
@@ -96,7 +98,7 @@ void main()
color *= 2.;
/// Gamma correct for WL (soft clip effect).
gl_FragColor.rgb = scaleSoftClip(color.rgb);
gl_FragColor.a = alpha1;
frag_color.rgb = scaleSoftClip(color.rgb);
frag_color.a = alpha1;
}

View File

@@ -24,7 +24,9 @@
*/
#ifdef DEFINE_GL_FRAGCOLOR
out vec4 gl_FragColor;
out vec4 frag_color;
#else
#define frag_color gl_FragColor
#endif
/////////////////////////////////////////////////////////////////////////
@@ -57,7 +59,7 @@ void main()
color *= 2.;
/// Gamma correct for WL (soft clip effect).
gl_FragColor.rgb = scaleSoftClip(color.rgb);
gl_FragColor.a = 1.0;
frag_color.rgb = scaleSoftClip(color.rgb);
frag_color.a = 1.0;
}