Expand character customization and refine fishing flow
This commit is contained in:
parent
8cc4c0985d
commit
43f57e56a0
144 changed files with 3108 additions and 189 deletions
11
ui/profile_preview_pixelation.gdshader
Normal file
11
ui/profile_preview_pixelation.gdshader
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
shader_type canvas_item;
|
||||
render_mode unshaded;
|
||||
|
||||
uniform vec2 logical_grid_size = vec2(160.0, 165.0);
|
||||
|
||||
|
||||
void fragment() {
|
||||
vec2 safe_grid = max(logical_grid_size, vec2(1.0));
|
||||
vec2 snapped_uv = (floor(UV * safe_grid) + vec2(0.5)) / safe_grid;
|
||||
COLOR = texture(TEXTURE, snapped_uv);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue