sprite_shaders.tscn 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. [gd_scene load_steps=22 format=2]
  2. [ext_resource path="res://shaders/outline.shader" type="Shader" id=1]
  3. [ext_resource path="res://godotea.png" type="Texture" id=2]
  4. [ext_resource path="res://shaders/aura.shader" type="Shader" id=3]
  5. [ext_resource path="res://shaders/blur.shader" type="Shader" id=4]
  6. [ext_resource path="res://shaders/fatty.shader" type="Shader" id=5]
  7. [ext_resource path="res://shaders/dropshadow.shader" type="Shader" id=6]
  8. [ext_resource path="res://shaders/offsetshadow.shader" type="Shader" id=7]
  9. [ext_resource path="res://shaders/silouette.shader" type="Shader" id=8]
  10. [ext_resource path="res://shaders/glow.shader" type="Shader" id=9]
  11. [ext_resource path="res://shaders/dissintegrate.shader" type="Shader" id=10]
  12. [sub_resource type="ShaderMaterial" id=1]
  13. shader = ExtResource( 1 )
  14. shader_param/outline_width = 2.0
  15. shader_param/outline_color = Color( 0, 1, 0.109375, 1 )
  16. [sub_resource type="ShaderMaterial" id=2]
  17. [sub_resource type="ShaderMaterial" id=3]
  18. shader = ExtResource( 1 )
  19. shader_param/outline_width = 4.0
  20. shader_param/outline_color = Color( 0, 0, 0, 1 )
  21. [sub_resource type="ShaderMaterial" id=4]
  22. shader = ExtResource( 3 )
  23. shader_param/aura_width = 6.0
  24. shader_param/aura_color = Color( 0.143326, 0.33235, 0.677765, 0.442 )
  25. [sub_resource type="ShaderMaterial" id=5]
  26. shader = ExtResource( 4 )
  27. shader_param/radius = 4.0
  28. [sub_resource type="ShaderMaterial" id=6]
  29. shader = ExtResource( 5 )
  30. shader_param/fattyness = 3.0
  31. [sub_resource type="ShaderMaterial" id=7]
  32. shader = ExtResource( 6 )
  33. shader_param/radius = 8.0
  34. shader_param/modulate = Color( 0, 0, 0, 0.501961 )
  35. [sub_resource type="ShaderMaterial" id=8]
  36. shader = ExtResource( 7 )
  37. shader_param/offset = Vector2( 20, 20 )
  38. shader_param/modulate = Color( 0.90625, 0.269043, 0.746948, 1 )
  39. [sub_resource type="ShaderMaterial" id=9]
  40. shader = ExtResource( 8 )
  41. shader_param/modulate = Color( 1, 0.0234375, 0.481201, 0.596706 )
  42. [sub_resource type="ShaderMaterial" id=10]
  43. shader = ExtResource( 9 )
  44. shader_param/radius = 5.0
  45. shader_param/amount = 0.25
  46. [sub_resource type="ShaderMaterial" id=11]
  47. shader = ExtResource( 10 )
  48. shader_param/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="Sprite" parent="."]
  54. material = SubResource( 2 )
  55. position = Vector2( -2.16144, 0 )
  56. texture = ExtResource( 2 )
  57. [node name="Outline" type="Sprite" parent="."]
  58. material = SubResource( 3 )
  59. position = Vector2( 400, 0 )
  60. texture = ExtResource( 2 )
  61. [node name="Aura" type="Sprite" parent="."]
  62. material = SubResource( 4 )
  63. position = Vector2( 800, 0 )
  64. texture = ExtResource( 2 )
  65. [node name="Blur" type="Sprite" parent="."]
  66. material = SubResource( 5 )
  67. position = Vector2( 1200, 0 )
  68. texture = ExtResource( 2 )
  69. [node name="Fatty" type="Sprite" parent="."]
  70. material = SubResource( 6 )
  71. position = Vector2( 1600, 0 )
  72. texture = ExtResource( 2 )
  73. [node name="DropShadow" type="Sprite" parent="."]
  74. material = SubResource( 7 )
  75. position = Vector2( 0, 800 )
  76. texture = ExtResource( 2 )
  77. [node name="OffsetShadow" type="Sprite" parent="."]
  78. material = SubResource( 8 )
  79. position = Vector2( 400, 800 )
  80. texture = ExtResource( 2 )
  81. [node name="Silouette" type="Sprite" parent="."]
  82. material = SubResource( 9 )
  83. position = Vector2( 800, 800 )
  84. texture = ExtResource( 2 )
  85. [node name="Glow" type="Sprite" parent="."]
  86. material = SubResource( 10 )
  87. position = Vector2( 1200, 800 )
  88. texture = ExtResource( 2 )
  89. [node name="Disintegrate" type="Sprite" parent="."]
  90. material = SubResource( 11 )
  91. position = Vector2( 1600, 800 )
  92. texture = ExtResource( 2 )
  93. region_rect = Rect2( 141, 115, 39, 6 )
  94. [node name="Camera2D" type="Camera2D" parent="."]
  95. offset = Vector2( 248, 120 )
  96. current = true
  97. drag_margin_left = 0.0
  98. drag_margin_top = 0.0
  99. drag_margin_right = 0.0
  100. drag_margin_bottom = 0.0