changes
This commit is contained in:
@@ -2,6 +2,7 @@ shader_type spatial;
|
||||
render_mode cull_disabled;
|
||||
|
||||
uniform sampler2D npcTexture : filter_nearest;
|
||||
uniform vec4 color : source_color;
|
||||
uniform int frame;
|
||||
uniform int direction;
|
||||
|
||||
@@ -35,5 +36,5 @@ void fragment() {
|
||||
if(npcColor.r == 0.00392156862745 && npcColor.g == 1.0 && npcColor.b == 0.0)
|
||||
discard;
|
||||
|
||||
ALBEDO.rgb = npcColor.rgb;
|
||||
ALBEDO.rgb = npcColor.rgb * color.rgb;
|
||||
}
|
||||
|
Reference in New Issue
Block a user