hurrmmm/godot/shaders/watercolor_frag.tres

45 lines
1.3 KiB
Plaintext

[gd_resource type="VisualShader" load_steps=3 format=3 uid="uid://dmfe4o4ct2vgh"]
[sub_resource type="VisualShaderNodeExpression" id="VisualShaderNodeExpression_np6v0"]
output_port_for_preview = 0
size = Vector2(513, 448.4)
expression = "out_color = vec3(1.0, 1.0, 1.0);"
[sub_resource type="VisualShaderNodeColorConstant" id="VisualShaderNodeColorConstant_p160o"]
output_port_for_preview = 0
constant = Color(0.873209, 6.54578e-06, 0.551742, 1)
[resource]
code = "shader_type spatial;
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx;
void fragment() {
vec3 n_out2p0;
// Expression:2
n_out2p0 = vec3(0.0, 0.0, 0.0);
{
n_out2p0 = vec3(1.0, 1.0, 1.0);
}
// Output:0
ALBEDO = n_out2p0;
}
"
graph_offset = Vector2(-567.36, -225.354)
nodes/fragment/0/position = Vector2(400, 120)
nodes/fragment/2/node = SubResource("VisualShaderNodeExpression_np6v0")
nodes/fragment/2/position = Vector2(-400, -100)
nodes/fragment/2/size = Vector2(513, 448.4)
nodes/fragment/2/input_ports = ""
nodes/fragment/2/output_ports = "0,4,out_color;"
nodes/fragment/2/expression = "out_color = vec3(1.0, 1.0, 1.0);"
nodes/fragment/4/node = SubResource("VisualShaderNodeColorConstant_p160o")
nodes/fragment/4/position = Vector2(-580, 440)
nodes/fragment/connections = PackedInt32Array(2, 0, 0, 0)