Skip to content

Commit b52ea53

Browse files
authored
Merge pull request #207 from limbonaut/chore-move-examples-2
Move examples into addons dir
2 parents 096126e + 94c9c87 commit b52ea53

22 files changed

Lines changed: 80 additions & 46 deletions

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
/addons !export-ignore
77
/addons/rmsmartshape !export-ignore
88
/addons/rmsmartshape/** !export-ignore
9-
/examples !export-ignore
10-
/examples/** !export-ignore
119
/README.md !export-ignore
1210
/LICENSE !export-ignore
File renamed without changes.
File renamed without changes.

examples/edge_shader/edge_shader.gdshader.uid renamed to addons/rmsmartshape/examples/edge_shader/edge_shader.gdshader.uid

File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://dpec5hjpflmri"]
2+
3+
[ext_resource type="Shader" uid="uid://4odq7m21wgjl" path="res://addons/rmsmartshape/examples/edge_shader/edge_shader.gdshader" id="1_akl0v"]
4+
5+
[resource]
6+
shader = ExtResource("1_akl0v")

examples/sharp_corner_tapering/assets/mat_edge_metal.tres renamed to addons/rmsmartshape/examples/sharp_corner_tapering/assets/mat_edge_metal.tres

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[gd_resource type="Resource" script_class="SS2D_Material_Edge" load_steps=7 format=3 uid="uid://c8q2nrxnbopbb"]
22

33
[ext_resource type="Script" uid="uid://d0xjijisx1woh" path="res://addons/rmsmartshape/materials/edge_material.gd" id="1_lbfns"]
4-
[ext_resource type="Texture2D" uid="uid://b3aqa3bj1osvp" path="res://examples/sharp_corner_tapering/assets/tex_metal_edge.png" id="2_bmjh3"]
5-
[ext_resource type="Texture2D" uid="uid://bobwi3r6aiiqg" path="res://examples/sharp_corner_tapering/assets/tex_metal_corner_inner.png" id="3_n1i1s"]
6-
[ext_resource type="Texture2D" uid="uid://bc34cuc50as8f" path="res://examples/sharp_corner_tapering/assets/tex_metal_corner_outer.png" id="4_ml2u7"]
7-
[ext_resource type="Texture2D" uid="uid://jc3g5qsmnpdd" path="res://examples/sharp_corner_tapering/assets/tex_metal_taper_corner_left.png" id="5_244mn"]
8-
[ext_resource type="Texture2D" uid="uid://cdnfaf3bslk38" path="res://examples/sharp_corner_tapering/assets/tex_metal_taper_corner_right.png" id="6_1c2na"]
4+
[ext_resource type="Texture2D" uid="uid://b3aqa3bj1osvp" path="res://addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_edge.png" id="2_bmjh3"]
5+
[ext_resource type="Texture2D" uid="uid://bobwi3r6aiiqg" path="res://addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_corner_inner.png" id="3_n1i1s"]
6+
[ext_resource type="Texture2D" uid="uid://bc34cuc50as8f" path="res://addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_corner_outer.png" id="4_ml2u7"]
7+
[ext_resource type="Texture2D" uid="uid://jc3g5qsmnpdd" path="res://addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_taper_corner_left.png" id="5_244mn"]
8+
[ext_resource type="Texture2D" uid="uid://cdnfaf3bslk38" path="res://addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_taper_corner_right.png" id="6_1c2na"]
99

1010
[resource]
1111
script = ExtResource("1_lbfns")

examples/sharp_corner_tapering/assets/tex_metal_corner_inner.png renamed to addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_corner_inner.png

File renamed without changes.

examples/sharp_corner_tapering/assets/tex_metal_corner_inner.png.import renamed to addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_corner_inner.png.import

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,34 @@
33
importer="texture"
44
type="CompressedTexture2D"
55
uid="uid://bobwi3r6aiiqg"
6-
path="res://.godot/imported/tex_metal_corner_inner.png-cdfd7b81c523bc5bb5c7863d7307007e.ctex"
6+
path="res://.godot/imported/tex_metal_corner_inner.png-cb79c290bddaa53f7796dac7a1a82705.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://examples/sharp_corner_tapering/assets/tex_metal_corner_inner.png"
14-
dest_files=["res://.godot/imported/tex_metal_corner_inner.png-cdfd7b81c523bc5bb5c7863d7307007e.ctex"]
13+
source_file="res://addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_corner_inner.png"
14+
dest_files=["res://.godot/imported/tex_metal_corner_inner.png-cb79c290bddaa53f7796dac7a1a82705.ctex"]
1515

1616
[params]
1717

1818
compress/mode=0
1919
compress/high_quality=false
2020
compress/lossy_quality=0.7
21+
compress/uastc_level=0
22+
compress/rdo_quality_loss=0.0
2123
compress/hdr_compression=1
2224
compress/normal_map=0
2325
compress/channel_pack=0
2426
mipmaps/generate=false
2527
mipmaps/limit=-1
2628
roughness/mode=0
2729
roughness/src_normal=""
30+
process/channel_remap/red=0
31+
process/channel_remap/green=1
32+
process/channel_remap/blue=2
33+
process/channel_remap/alpha=3
2834
process/fix_alpha_border=true
2935
process/premult_alpha=false
3036
process/normal_map_invert_y=false

examples/sharp_corner_tapering/assets/tex_metal_corner_outer.png renamed to addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_corner_outer.png

File renamed without changes.

examples/sharp_corner_tapering/assets/tex_metal_corner_outer.png.import renamed to addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_corner_outer.png.import

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,34 @@
33
importer="texture"
44
type="CompressedTexture2D"
55
uid="uid://bc34cuc50as8f"
6-
path="res://.godot/imported/tex_metal_corner_outer.png-6ea6aecab21ef2cdfa9c20ae8389ee06.ctex"
6+
path="res://.godot/imported/tex_metal_corner_outer.png-875b77a2b4c70883ce130c2c0edf2bc3.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://examples/sharp_corner_tapering/assets/tex_metal_corner_outer.png"
14-
dest_files=["res://.godot/imported/tex_metal_corner_outer.png-6ea6aecab21ef2cdfa9c20ae8389ee06.ctex"]
13+
source_file="res://addons/rmsmartshape/examples/sharp_corner_tapering/assets/tex_metal_corner_outer.png"
14+
dest_files=["res://.godot/imported/tex_metal_corner_outer.png-875b77a2b4c70883ce130c2c0edf2bc3.ctex"]
1515

1616
[params]
1717

1818
compress/mode=0
1919
compress/high_quality=false
2020
compress/lossy_quality=0.7
21+
compress/uastc_level=0
22+
compress/rdo_quality_loss=0.0
2123
compress/hdr_compression=1
2224
compress/normal_map=0
2325
compress/channel_pack=0
2426
mipmaps/generate=false
2527
mipmaps/limit=-1
2628
roughness/mode=0
2729
roughness/src_normal=""
30+
process/channel_remap/red=0
31+
process/channel_remap/green=1
32+
process/channel_remap/blue=2
33+
process/channel_remap/alpha=3
2834
process/fix_alpha_border=true
2935
process/premult_alpha=false
3036
process/normal_map_invert_y=false

0 commit comments

Comments
 (0)