Fix define

This commit is contained in:
luboslenco 2019-02-23 10:15:06 +01:00
parent c22a610a41
commit 9a12aaf262

View file

@ -109,9 +109,11 @@ vec4 LUTlookup(in vec4 textureColor, in sampler2D lookupTable) {
}
#ifdef _CVignette
float vignette() {
return (1.0 - compoVignetteStrength) + compoVignetteStrength * pow(16.0 * texCoord.x * texCoord.y * (1.0 - texCoord.x) * (1.0 - texCoord.y), 0.2);
}
#endif
#ifdef _CGlare
// Based on lense flare implementation by musk