Texturerect texture is darker in game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By zen3001

why?
this is the shader script I’ve written but I tried removing it completely and the color difference still happens.

shader_type canvas_item;

uniform vec2 uv_scale = vec2(3.0, 3.0);
uniform float speed = 2.75;

void fragment(){
    vec2 uv_ = UV / uv_scale;
	vec2 move;
    move.y = (TIME + sin(uv_.x + uv_.y)) * -0.1;
	COLOR = texture(TEXTURE, uv_+move.y + TIME * -speed);
}

enter image description here

:bust_in_silhouette: Reply From: zen3001

ok, turns out I might have accidently changed the srgb value when disabling the filter.
just selected Detect again and imported it again.
enter image description here