sprite_shaders.tscn 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. [gd_scene load_steps=22 format=3 uid="uid://qutrkkh2f6j3"]
  2. [ext_resource type="Shader" path="res://shaders/outline.gdshader" id="1"]
  3. [ext_resource type="Texture2D" uid="uid://c3w5hecxtwqeh" path="res://godotea.png" id="2"]
  4. [ext_resource type="Shader" path="res://shaders/aura.gdshader" id="3"]
  5. [ext_resource type="Shader" path="res://shaders/blur.gdshader" id="4"]
  6. [ext_resource type="Shader" path="res://shaders/fatty.gdshader" id="5"]
  7. [ext_resource type="Shader" path="res://shaders/dropshadow.gdshader" id="6"]
  8. [ext_resource type="Shader" path="res://shaders/offsetshadow.gdshader" id="7"]
  9. [ext_resource type="Shader" path="res://shaders/silouette.gdshader" id="8"]
  10. [ext_resource type="Shader" path="res://shaders/glow.gdshader" id="9"]
  11. [ext_resource type="Shader" path="res://shaders/dissintegrate.gdshader" id="10"]
  12. [sub_resource type="ShaderMaterial" id="1"]
  13. shader = ExtResource("1")
  14. shader_parameter/outline_color = null
  15. shader_parameter/outline_width = null
  16. [sub_resource type="ShaderMaterial" id="2"]
  17. [sub_resource type="ShaderMaterial" id="3"]
  18. shader = ExtResource("1")
  19. shader_parameter/outline_color = null
  20. shader_parameter/outline_width = null
  21. [sub_resource type="ShaderMaterial" id="4"]
  22. shader = ExtResource("3")
  23. shader_parameter/aura_color = Color(0, 1, 0.486275, 1)
  24. shader_parameter/aura_width = null
  25. [sub_resource type="ShaderMaterial" id="5"]
  26. shader = ExtResource("4")
  27. shader_parameter/radius = 4.0
  28. [sub_resource type="ShaderMaterial" id="6"]
  29. shader = ExtResource("5")
  30. shader_parameter/fattyness = 3.0
  31. [sub_resource type="ShaderMaterial" id="7"]
  32. shader = ExtResource("6")
  33. shader_parameter/modulate = null
  34. shader_parameter/radius = null
  35. [sub_resource type="ShaderMaterial" id="8"]
  36. shader = ExtResource("7")
  37. shader_parameter/modulate = null
  38. shader_parameter/offset = null
  39. [sub_resource type="ShaderMaterial" id="9"]
  40. shader = ExtResource("8")
  41. shader_parameter/modulate = Color(0.858824, 0.317647, 0.701961, 1)
  42. [sub_resource type="ShaderMaterial" id="10"]
  43. shader = ExtResource("9")
  44. shader_parameter/amount = 0.25
  45. shader_parameter/radius = 5.0
  46. [sub_resource type="ShaderMaterial" id="11"]
  47. shader = ExtResource("10")
  48. shader_parameter/amount = 4.0
  49. [node name="SpriteShaders" type="Node2D"]
  50. material = SubResource("1")
  51. position = Vector2(263.737, 179.444)
  52. scale = Vector2(0.3, 0.3)
  53. [node name="Normal" type="Sprite2D" parent="."]
  54. texture_filter = 4
  55. material = SubResource("2")
  56. position = Vector2(-2.16144, 0)
  57. texture = ExtResource("2")
  58. [node name="Outline" type="Sprite2D" parent="."]
  59. texture_filter = 4
  60. material = SubResource("3")
  61. position = Vector2(400, 0)
  62. texture = ExtResource("2")
  63. [node name="Aura" type="Sprite2D" parent="."]
  64. texture_filter = 4
  65. material = SubResource("4")
  66. position = Vector2(800, 0)
  67. texture = ExtResource("2")
  68. [node name="Blur" type="Sprite2D" parent="."]
  69. texture_filter = 4
  70. material = SubResource("5")
  71. position = Vector2(1200, 0)
  72. texture = ExtResource("2")
  73. [node name="Fatty" type="Sprite2D" parent="."]
  74. texture_filter = 4
  75. material = SubResource("6")
  76. position = Vector2(1600, 0)
  77. texture = ExtResource("2")
  78. [node name="DropShadow" type="Sprite2D" parent="."]
  79. texture_filter = 4
  80. material = SubResource("7")
  81. position = Vector2(0, 800)
  82. texture = ExtResource("2")
  83. [node name="OffsetShadow" type="Sprite2D" parent="."]
  84. texture_filter = 4
  85. material = SubResource("8")
  86. position = Vector2(400, 800)
  87. texture = ExtResource("2")
  88. [node name="Silouette" type="Sprite2D" parent="."]
  89. texture_filter = 4
  90. material = SubResource("9")
  91. position = Vector2(800, 800)
  92. texture = ExtResource("2")
  93. [node name="Glow" type="Sprite2D" parent="."]
  94. texture_filter = 4
  95. material = SubResource("10")
  96. position = Vector2(1200, 800)
  97. texture = ExtResource("2")
  98. [node name="Disintegrate" type="Sprite2D" parent="."]
  99. texture_filter = 4
  100. material = SubResource("11")
  101. position = Vector2(1600, 800)
  102. texture = ExtResource("2")
  103. region_rect = Rect2(141, 115, 39, 6)
  104. [node name="Camera2D" type="Camera2D" parent="."]
  105. offset = Vector2(248, 120)
  106. current = true