forked from team-sg/hero-mark-2
It's blood.
This commit is contained in:
parent
8c818ac174
commit
8264c9c1b8
18 changed files with 107 additions and 58 deletions
15
shaders/can_stain.tres
Normal file
15
shaders/can_stain.tres
Normal 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 )
|
Loading…
Add table
Add a link
Reference in a new issue