fix critical damage effect when temporal upscaling was enabled.

This commit is contained in:
Xonk
2024-07-07 21:21:55 -04:00
parent 396c9edba7
commit cdd12d441e
4 changed files with 7 additions and 9 deletions

View File

@ -3,6 +3,7 @@ const float LpvBlockBrightness = 1.0;
float lpvCurve(float values) {
// return values;
return pow(1.0 - sqrt(1.0-values), 2.0);
}

View File

@ -1,4 +1,4 @@
#define SHADER_VERSION_LABEL 478 // [478]
#define SHADER_VERSION_LABEL 479 // [479]
#define saturate(x) clamp(x,0.0,1.0)