Many Many Updates

This commit is contained in:
The 64th Gamer 2025-04-07 20:16:09 -06:00
parent 1608b8f6f5
commit 8359479243
50 changed files with 807 additions and 66 deletions

12
Materials/Black Hair.tres Normal file
View file

@ -0,0 +1,12 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://2a27fe7w8jef"]
[resource]
albedo_color = Color(0.0666928, 0.0646792, 0.0591421, 1)
metallic = 1.0
roughness = 0.41
normal_enabled = true
anisotropy_enabled = true
subsurf_scatter_enabled = true
subsurf_scatter_strength = 1.0
subsurf_scatter_transmittance_depth = 3.016
subsurf_scatter_transmittance_boost = 1.0

39
Materials/Chica.gdshader Normal file
View file

@ -0,0 +1,39 @@
shader_type spatial;
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_burley, specular_schlick_ggx;
uniform sampler2D diffuse_texture;
uniform sampler2D normal_map: hint_normal;
uniform float normal_scale : hint_range(-16.0, 16.0);
uniform sampler2D mask_map;
uniform sampler2D paint_map;
uniform vec3 paint_color_r : source_color;
uniform vec3 paint_color_g: source_color;
uniform vec3 paint_color_b: source_color;
uniform vec3 paint_color_a: source_color;
void fragment() {
vec2 uv = UV;
vec4 base_color = texture(diffuse_texture, uv);
vec4 paint = texture(paint_map, uv);
vec4 masks = texture(mask_map, uv);
// Mix base with paint colors by channels
vec3 paint_result = base_color.rgb;
paint_result = mix(paint_result, paint_color_r, paint.r);
paint_result = mix(paint_result, paint_color_g, paint.g);
paint_result = mix(paint_result, paint_color_b, paint.b);
paint_result = mix(paint_result, paint_color_a, paint.a);
ALBEDO = paint_result;
EMISSION = paint_result * masks.b;
ROUGHNESS = masks.g;
METALLIC = masks.r;
NORMAL_MAP = texture(normal_map, uv).rgb;
NORMAL_MAP_DEPTH = normal_scale;
}

View file

@ -0,0 +1 @@
uid://des8a3glk3x31

20
Materials/Chica.tres Normal file
View file

@ -0,0 +1,20 @@
[gd_resource type="ShaderMaterial" load_steps=6 format=3 uid="uid://b51m30fupimsx"]
[ext_resource type="Shader" uid="uid://des8a3glk3x31" path="res://Materials/Chica.gdshader" id="1_g0agl"]
[ext_resource type="Texture2D" uid="uid://fldji252qpey" path="res://Textures/Chica_Main.png" id="2_72hyw"]
[ext_resource type="Texture2D" uid="uid://cev65j6tjoli8" path="res://Textures/Chica_MaskMap.png" id="3_6qvbf"]
[ext_resource type="Texture2D" uid="uid://bnrc4uavbcu8f" path="res://Textures/Chica_NormalMap.png" id="4_wheg1"]
[ext_resource type="Texture2D" uid="uid://c6rqou6artl3b" path="res://Textures/Chica_PaintMap.png" id="5_vlian"]
[resource]
render_priority = 0
shader = ExtResource("1_g0agl")
shader_parameter/diffuse_texture = ExtResource("2_72hyw")
shader_parameter/normal_map = ExtResource("4_wheg1")
shader_parameter/normal_scale = 1.0
shader_parameter/mask_map = ExtResource("3_6qvbf")
shader_parameter/paint_map = ExtResource("5_vlian")
shader_parameter/paint_color_r = Color(0.901961, 0.745098, 0.239216, 1)
shader_parameter/paint_color_g = Color(0.85098, 0.533333, 0.254902, 1)
shader_parameter/paint_color_b = Color(0.647059, 0.12549, 0.0980392, 1)
shader_parameter/paint_color_a = Color(0, 0, 0, 1)

View file

@ -0,0 +1,12 @@
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bimexjbcml72"]
[resource]
albedo_color = Color(0.901961, 0.745098, 0.239216, 1)
metallic = 1.0
roughness = 0.41
normal_enabled = true
anisotropy_enabled = true
subsurf_scatter_enabled = true
subsurf_scatter_strength = 1.0
subsurf_scatter_transmittance_depth = 3.016
subsurf_scatter_transmittance_boost = 1.0