-
-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reference Image Improvements #961
Merged
Merged
Changes from 18 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
239068d
Reference Image Updates
TheLsbt 201c9e4
Fixed static typing
TheLsbt fdec874
Tried fixing the static typing again
TheLsbt 51afd12
Tried fixing static typing again
TheLsbt f3a0525
Changed Spacing
TheLsbt cfcddf6
Fixed Trailing Whitespaces and tabs
TheLsbt 6d2d5af
Fixed Final Trailing Whitespace
TheLsbt d9d7c71
Fixed styling and removed useless enum
TheLsbt f6cf446
Removed double tabs left over from previous commit
TheLsbt d010e97
Fixed remove ConfirmDialog Showing on startusp
TheLsbt 366d506
Tried Fixing gdlint issues
TheLsbt 76155cd
Fixed Linting
TheLsbt c0a25aa
Fixed Spelling issues
TheLsbt 0ba5a8b
Drag and drop to rearrange reference images
TheLsbt a6c86d5
Added Icons
TheLsbt 7b988d4
Applied the icons to the UI
TheLsbt c2e59a4
Fix Scripting Issues
TheLsbt 07e90b4
Fixed Linting
TheLsbt bce8764
Merge branch 'master' of https://github.com/TheLsbt/Pixelorama
TheLsbt fae90ba
Rename Move.png to move.png
TheLsbt d32260f
Merge branch 'master' of https://github.com/TheLsbt/Pixelorama
TheLsbt 0425baf
Merge branch 'Orama-Interactive:master' into master
TheLsbt f604da0
Update Canvas.gd
TheLsbt 3f1469a
Updated the tooltips
TheLsbt a02bc8c
Rename Select.png to select.png
TheLsbt 4b21876
Rename Select.png.import to select.png.import
TheLsbt 0ce5481
Rename Move.png.import to move.png.import
TheLsbt 6d36138
Rename Rotate.png to rotate.png
TheLsbt d1b8d65
Rename Rotate.png.import to rotate.png.import
TheLsbt d86bd6f
Fixed import files
TheLsbt 2070b85
Merge branch 'master' of https://github.com/TheLsbt/Pixelorama
TheLsbt d516912
Rename Scale.png to scale.png
TheLsbt b6776e1
Rename Scale.png.import to scale.png.import
TheLsbt 6aa274f
Added logic to update the reference panel when the project changes
TheLsbt 4dd250f
Merge branch 'master' of https://github.com/TheLsbt/Pixelorama
TheLsbt ef87d10
Update Project.gd
TheLsbt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://cedsyi8gf2n2i" | ||
path="res://.godot/imported/Move.png-8bf553cb7d6122de2b4d9be7bc3058da.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/graphics/reference_images/Move.png" | ||
dest_files=["res://.godot/imported/Move.png-8bf553cb7d6122de2b4d9be7bc3058da.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://dtd43nvphu3jj" | ||
path="res://.godot/imported/Rotate.png-2791a6426c1bdfad969c88e7697da3a5.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/graphics/reference_images/Rotate.png" | ||
dest_files=["res://.godot/imported/Rotate.png-2791a6426c1bdfad969c88e7697da3a5.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://nfabwr5mgdir" | ||
path="res://.godot/imported/Scale.png-a36dbe605e7db190575d43180968ebf0.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/graphics/reference_images/Scale.png" | ||
dest_files=["res://.godot/imported/Scale.png-a36dbe605e7db190575d43180968ebf0.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://d2m7enib3dplc" | ||
path="res://.godot/imported/Select.png-ffb31c976f80e8581fb7101ad43dfb5a.ctex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/graphics/reference_images/Select.png" | ||
dest_files=["res://.godot/imported/Select.png-ffb31c976f80e8581fb7101ad43dfb5a.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=0 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=false | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=1 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
shader_type canvas_item; | ||
|
||
// This shader gets applied to every single reference image. | ||
|
||
|
||
uniform bool monochrome = false; | ||
// Used because modulate does not work when monochrome is true | ||
uniform vec4 monchrome_color : source_color; | ||
// Clamp the color by using the greyscale of the image to identify the brightness of each pixel | ||
uniform float clamping : hint_range(0.0, 1.0, 0.01) = 0.0; | ||
|
||
void fragment() { | ||
// The original color | ||
vec4 color = texture(TEXTURE, UV); | ||
// Get the greyscale based on the brightest channel | ||
float greyscale = max(max(color.r, color.g), color.b); | ||
// Dont Use Alpha Channel past this statement! | ||
if (greyscale < clamping) COLOR.a = 0.0; | ||
// If we want the image to be onochrome we just set that pixels rgb color. | ||
if (monochrome) COLOR.rgb = monchrome_color.rgb; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asset file names should be in
snake_case
(all lowercase, underscores instead of spaces) as per CONTRIBUTING.md. If Godot complains while renaming, it's because Windows is not case sensitive. As a workaround, you can first rename it to something like "move_.png", and then "move.png". Same for the rest of the files.