Port proven shaders (toon, toon_masked, outline) and skin tone textures from quaternius-aesthetic spike to production client. Import 65-bone armature and Universal Animation Libraries (UAL1 + UAL2). Set gltf/embedded_image_handling=3 in project.godot (critical import setting). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
369 B
Plaintext
15 lines
369 B
Plaintext
shader_type spatial;
|
|
render_mode unshaded, cull_front;
|
|
|
|
uniform vec4 outline_color : source_color = vec4(0.1, 0.1, 0.15, 1.0);
|
|
uniform float outline_width : hint_range(0.0, 0.1) = 0.03;
|
|
|
|
void vertex() {
|
|
// Inverted hull outline: push vertices along normals, render back faces only
|
|
VERTEX += NORMAL * outline_width;
|
|
}
|
|
|
|
void fragment() {
|
|
ALBEDO = outline_color.rgb;
|
|
}
|