resolve gamma issues due to new post processing

This commit is contained in:
betalars 2025-05-26 21:40:34 +02:00
parent 57ded43713
commit 3a5d64ab02
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@ uniform sampler2D tex : repeat_enable;
uniform float magic_scale_factor = 1500; uniform float magic_scale_factor = 1500;
void fragment() { void fragment() {
COLOR = texture(tex, FRAGCOORD.xy/magic_scale_factor); COLOR = pow(texture(tex, FRAGCOORD.xy/magic_scale_factor), vec4(2.2));
} }