changes
This commit is contained in:
1 parent
65a3d49f55
commit
7106469bd1
8 files changed
+13
-8
No files matched your search
@@ -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