This commit is contained in:
E250429F
2026-09-17 23:19:43 +02:00
parent 025a866eef
commit 3e857fa9f3
281 changed files with 38006 additions and 970 deletions
+11
View File
@@ -0,0 +1,11 @@
shader_type spatial;
uniform sampler2DArray skins : source_color, filter_linear_mipmap, repeat_enable;
instance uniform int skin_index = 0;
void fragment() {
vec4 tex_color = texture(skins, vec3(UV, float(skin_index)));
ALBEDO = tex_color.rgb;
// optional if alpha
// ALPHA = tex_color.a;
}