Catching up with Lindies part 2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user