36 lines
970 B
Text
36 lines
970 B
Text
|
[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;
|
||
|
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_toon, specular_schlick_ggx;
|
||
|
|
||
|
uniform sampler2D tex_frg_2;
|
||
|
|
||
|
|
||
|
|
||
|
void fragment() {
|
||
|
// Texture2D:2
|
||
|
vec4 n_out2p0 = texture(tex_frg_2, UV);
|
||
|
|
||
|
|
||
|
// Output:0
|
||
|
ALBEDO = vec3(n_out2p0.xyz);
|
||
|
|
||
|
|
||
|
}
|
||
|
"
|
||
|
graph_offset = Vector2(-126.194, -32.1399)
|
||
|
modes/diffuse = 3
|
||
|
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")
|