Flashlight and basic character controls

This commit is contained in:
Иван Кузьменко 2023-08-14 23:46:21 +03:00
parent 70d322e276
commit 3832a05c1b
16 changed files with 258 additions and 4 deletions

View file

@ -0,0 +1,7 @@
shader_type canvas_item;
uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest;
void fragment() {
COLOR = vec4(vec3(1,1,1) - texture(screen_texture, SCREEN_UV).rgb, 1);
}