Created
June 25, 2020 10:07
-
-
Save andrew-wilkes/74607433fe894fbf57c46859db4e06a8 to your computer and use it in GitHub Desktop.
Godot make background brighter shader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shader_type canvas_item; | |
void fragment() { | |
vec3 c = textureLod(SCREEN_TEXTURE, SCREEN_UV, 0.0).rgb; | |
if (c.r < 0.3 || c.g < 0.3 || c.b < 0.3) c *= 1.2; | |
COLOR.rgb = c; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment