It's blood.

This commit is contained in:
Haze Weathers 2023-09-11 16:23:13 -04:00
parent 8c818ac174
commit 8264c9c1b8
18 changed files with 107 additions and 58 deletions

15
shaders/can_stain.tres Normal file
View file

@ -0,0 +1,15 @@
[gd_resource type="ShaderMaterial" load_steps=2 format=2]
[sub_resource type="Shader" id=2]
code = "shader_type canvas_item;
void fragment() {
COLOR = texture(TEXTURE, UV);
// fucked up lighting change to make blood work perfectly
if (AT_LIGHT_PASS) {
COLOR = vec4(1.0, 1.0, 1.0, COLOR.a);
}
}"
[resource]
shader = SubResource( 2 )