2025-04-09 23:27:01 +00:00
|
|
|
[gd_resource type="ShaderMaterial" load_steps=4 format=3 uid="uid://c57iaw1tjibhd"]
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://r3875svjtew5" path="res://Assets/Kenney/Textures/pirate_colormap.png" id="1_11ibk"]
|
|
|
|
|
|
|
|
[sub_resource type="VisualShaderNodeTexture" id="VisualShaderNodeTexture_3w7bt"]
|
|
|
|
texture = ExtResource("1_11ibk")
|
|
|
|
|
|
|
|
[sub_resource type="VisualShader" id="VisualShader_jt705"]
|
|
|
|
code = "shader_type spatial;
|
2025-04-11 16:18:28 +00:00
|
|
|
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx;
|
2025-04-09 23:27:01 +00:00
|
|
|
|
|
|
|
uniform sampler2D tex_frg_2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void fragment() {
|
|
|
|
// Texture2D:2
|
|
|
|
vec4 n_out2p0 = texture(tex_frg_2, UV);
|
|
|
|
|
|
|
|
|
|
|
|
// Output:0
|
|
|
|
ALBEDO = vec3(n_out2p0.xyz);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
"
|
2025-04-11 16:18:28 +00:00
|
|
|
graph_offset = Vector2(-146.887, -49.9698)
|
2025-04-09 23:27:01 +00:00
|
|
|
nodes/fragment/2/node = SubResource("VisualShaderNodeTexture_3w7bt")
|
|
|
|
nodes/fragment/2/position = Vector2(-20, 140)
|
|
|
|
nodes/fragment/connections = PackedInt32Array(2, 0, 0, 0)
|
|
|
|
|
|
|
|
[resource]
|
|
|
|
render_priority = 0
|
|
|
|
shader = SubResource("VisualShader_jt705")
|