We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01df4e4 commit f5d27faCopy full SHA for f5d27fa
src/libs/engine/engine/resources/shaders/PlainColor.frag
@@ -6,5 +6,9 @@ out vec4 out_Color;
6
7
void main(void)
8
{
9
- out_Color = ex_Color;
+ #if defined(GAMMA_CORRECTION)
10
+ out_Color = correctGamma(ex_Color);
11
+ #else
12
+ out_Color = ex_Color;
13
+ #endif // GAMMA_CORRECTION
14
}
0 commit comments