-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix errors on skybox and brick wall shaders on export
fixed by preventing shader properties to be acessed before ready and manually reassigning them on ready
- Loading branch information
Showing
7 changed files
with
97 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
.../stage_01/background_elements/buildings/walls/brick_wall/brick_wall_default_gradient.tres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[gd_resource type="Gradient" format=3] | ||
|
||
[resource] | ||
resource_local_to_scene = true | ||
interpolation_mode = 2 | ||
offsets = PackedFloat32Array(0, 0.268817, 0.575269, 0.854839) | ||
colors = PackedColorArray(0, 0, 0, 1, 0.662745, 0.662745, 0.662745, 1, 0.827451, 0.827451, 0.827451, 1, 1, 1, 1, 1) |
4 changes: 4 additions & 0 deletions
4
...age_01/background_elements/buildings/walls/brick_wall/brick_wall_default_grayscale1D.tres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[gd_resource type="GradientTexture1D" format=3 uid="uid://pbndpcmcjj3w"] | ||
|
||
[resource] | ||
resource_local_to_scene = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
stages/stage_01/background_elements/skyboxes/skybox_default_texture1d.tres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://b8qv562jj6iw5"] | ||
|
||
[sub_resource type="Gradient" id="Gradient_qs8id"] | ||
offsets = PackedFloat32Array(0, 0.259, 0.435, 0.656, 0.972) | ||
colors = PackedColorArray(0, 0.0456241, 0.109756, 1, 0, 0.415686, 1, 1, 0.192556, 0.689018, 0.957944, 1, 0.42856, 0.80186, 0.972127, 1, 0.882353, 0.972549, 0.992157, 1) | ||
|
||
[resource] | ||
gradient = SubResource("Gradient_qs8id") | ||
width = 1024 |