Add basic visual cel shader

This commit is contained in:
DrHaid
2026-04-03 19:42:47 +02:00
parent 9fd4fc53ff
commit de0a74a2c9
75 changed files with 236 additions and 163 deletions

View File

@@ -0,0 +1,17 @@
[gd_resource type="ShaderMaterial" format=3 uid="uid://coewu57ewtpjv"]
[ext_resource type="Shader" uid="uid://bckl1mrgp5642" path="res://kenney_pirate-kit/models/materials/cel_shader.tres" id="1_f3xfr"]
[ext_resource type="Texture2D" uid="uid://ctq573g1iuitp" path="res://kenney_pirate-kit/models/materials/colormap.png" id="2_vih7s"]
[sub_resource type="Gradient" id="Gradient_f3xfr"]
interpolation_mode = 1
offsets = PackedFloat32Array(0, 0.5)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_vih7s"]
gradient = SubResource("Gradient_f3xfr")
[resource]
render_priority = 0
shader = ExtResource("1_f3xfr")
shader_parameter/colormap = ExtResource("2_vih7s")
shader_parameter/shadow_gradient = SubResource("GradientTexture1D_vih7s")