Files
bpc.godot/Shaders/SHD_Metallic.tres
T

27 lines
593 B
Plaintext
Raw Normal View History

2024-12-06 10:44:53 -08:00
[gd_resource type="VisualShader" load_steps=2 format=3 uid="uid://do64lk1u6jf17"]
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_ofnfe"]
input_name = "color"
[resource]
code = "shader_type spatial;
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx;
void fragment() {
// Input:3
vec4 n_out3p0 = COLOR;
// Output:0
ALBEDO = vec3(n_out3p0.xyz);
}
"
nodes/fragment/3/node = SubResource("VisualShaderNodeInput_ofnfe")
nodes/fragment/3/position = Vector2(-140, 280)
nodes/fragment/connections = PackedInt32Array(3, 0, 0, 0)