mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-07-06 22:04:42 -04:00
[EXPERIMENTAL] Added ability to load a shader as an image effect
This new feature allows users to load a .shader file (must be a GLES2 Godot shader) that will modify the image itself. This feature is experimental and possibly buggy, not all shaders are working properly and I'm not sure yet why. As such, this feature may not be included in v0.8 stable.
This commit is contained in:
parent
59122f6a13
commit
186e2259ac
5 changed files with 209 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=21 format=2]
|
||||
[gd_scene load_steps=22 format=2]
|
||||
|
||||
[ext_resource path="res://assets/themes/dark/theme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://src/Main.gd" type="Script" id=2]
|
||||
|
@ -9,6 +9,7 @@
|
|||
[ext_resource path="res://src/UI/Dialogs/ResizeCanvas.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://src/UI/Dialogs/SaveSpriteHTML5.tscn" type="PackedScene" id=8]
|
||||
[ext_resource path="res://src/UI/Dialogs/GradientDialog.tscn" type="PackedScene" id=9]
|
||||
[ext_resource path="res://src/UI/Dialogs/ShaderEffect.tscn" type="PackedScene" id=10]
|
||||
[ext_resource path="res://src/UI/Dialogs/SaveSprite.tscn" type="PackedScene" id=11]
|
||||
[ext_resource path="res://src/UI/Dialogs/OpenSprite.tscn" type="PackedScene" id=12]
|
||||
[ext_resource path="res://src/UI/Dialogs/SplashDialog.tscn" type="PackedScene" id=27]
|
||||
|
@ -45,17 +46,16 @@ __meta__ = {
|
|||
[node name="UI" parent="MenuAndUI" instance=ExtResource( 4 )]
|
||||
|
||||
[node name="Dialogs" type="Control" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
mouse_filter = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ImageEffects" type="Control" parent="Dialogs"]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
mouse_filter = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ScaleImage" parent="Dialogs/ImageEffects" instance=ExtResource( 31 )]
|
||||
margin_bottom = 127.0
|
||||
|
@ -75,6 +75,8 @@ margin_bottom = 106.0
|
|||
[node name="GradientDialog" parent="Dialogs/ImageEffects" instance=ExtResource( 9 )]
|
||||
margin_bottom = 214.0
|
||||
|
||||
[node name="ShaderEffect" parent="Dialogs/ImageEffects" instance=ExtResource( 10 )]
|
||||
|
||||
[node name="BrushesPopup" parent="Dialogs" instance=ExtResource( 6 )]
|
||||
|
||||
[node name="PatternsPopup" parent="Dialogs" instance=ExtResource( 5 )]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue