-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d602592
commit 6a2c279
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
shader_type canvas_item; | ||
|
||
void fragment() { | ||
vec4 original_color = texture(TEXTURE, UV); | ||
vec4 color = original_color + original_color + original_color; | ||
COLOR = mix(color, original_color, 1.0 - original_color.a); | ||
} | ||
|
||
//void light() { | ||
// Called for every pixel for every light affecting the CanvasItem. | ||
// Uncomment to replace the default light processing function with this one. | ||
//} |
This file contains 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