diff --git a/assets/materials/green.tres b/assets/materials/green.tres new file mode 100644 index 0000000..5a26b6b --- /dev/null +++ b/assets/materials/green.tres @@ -0,0 +1,41 @@ +[gd_resource type="ShaderMaterial" load_steps=3 format=2] + +[sub_resource type="VisualShaderNodeColorUniform" id=1] +uniform_name = "BaseColor" + +[sub_resource type="VisualShader" id=2] +code = "shader_type spatial; +render_mode specular_schlick_ggx; + +uniform vec4 BaseColor : hint_color; + + + +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 + +} +" +graph_offset = Vector2( -278, -353.75 ) +nodes/fragment/5/node = SubResource( 1 ) +nodes/fragment/5/position = Vector2( 180, 140 ) +nodes/fragment/connections = PoolIntArray( 5, 0, 0, 0 ) + +[resource] +shader = SubResource( 2 ) +shader_param/BaseColor = Color( 0.313726, 1, 0, 1 ) diff --git a/assets/materials/red.tres b/assets/materials/red.tres new file mode 100644 index 0000000..a4ed940 --- /dev/null +++ b/assets/materials/red.tres @@ -0,0 +1,41 @@ +[gd_resource type="ShaderMaterial" load_steps=3 format=2] + +[sub_resource type="VisualShaderNodeColorUniform" id=1] +uniform_name = "BaseColor" + +[sub_resource type="VisualShader" id=2] +code = "shader_type spatial; +render_mode specular_schlick_ggx; + +uniform vec4 BaseColor : hint_color; + + + +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 + +} +" +graph_offset = Vector2( -278, -353.75 ) +nodes/fragment/5/node = SubResource( 1 ) +nodes/fragment/5/position = Vector2( 180, 140 ) +nodes/fragment/connections = PoolIntArray( 5, 0, 0, 0 ) + +[resource] +shader = SubResource( 2 ) +shader_param/BaseColor = Color( 1, 0, 0, 1 )