You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
593 B
27 lines
593 B
[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)
|