Files
puzzle-quest/assets/materials/red.tres
T

41 lines
723 B
Plaintext
Raw Normal View History

2021-05-23 15:26:39 +02:00
[gd_resource type="ShaderMaterial" load_steps=3 format=2]
[sub_resource type="VisualShaderNodeColorParameter" id=1]
2021-05-23 15:26:39 +02:00
uniform_name = "BaseColor"
[sub_resource type="VisualShader" id=2]
code = "shader_type spatial;
render_mode specular_schlick_ggx;
uniform vec4 BaseColor : source_color;
2021-05-23 15:26:39 +02:00
void vertex() {
// Output:0
}
void fragment() {
// ColorUniform:5
vec3 n_out5p0 = BaseColor.rgb;
float n_out5p1 = BaseColor.a;
// Output:0
ALBEDO = n_out5p0;
}
void light() {
// Output:0
}
"
nodes/fragment/5/node = SubResource( 1 )
nodes/fragment/5/position = Vector2( 180, 140 )
nodes/fragment/connections = PackedInt32Array( 5, 0, 0, 0 )
2021-05-23 15:26:39 +02:00
[resource]
shader = SubResource( 2 )
shader_param/BaseColor = Color( 1, 0, 0, 1 )