Skip to content

Commit

Permalink
Fix a shader error.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Sep 28, 2023
1 parent 7e18a5b commit ea7ba65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/svencoop/renderer/shader/sprite_shader.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void main(void)

vec4 lightmapColor = v_color;

lightmapColor = ProcessOtherColor(lightmapColor);
lightmapColor = ProcessOtherGammaColor(lightmapColor);

lightmapColor.r = clamp(lightmapColor.r, 0.0, 1.0);
lightmapColor.g = clamp(lightmapColor.g, 0.0, 1.0);
Expand Down

0 comments on commit ea7ba65

Please sign in to comment.