Add modified Fragmented project files

This commit is contained in:
ChaoticByte 2025-10-10 22:05:07 +02:00
parent f99f1fbc9b
commit 77ce93fb15
Signed by: ChaoticByte
SSH key fingerprint: SHA256:bHr1NPU+JZFLUbsTl2/mfa6U+6dcM7VjKohzXnshfFY
57 changed files with 1696 additions and 0 deletions

3
examples/0_empty.tscn Normal file
View file

@ -0,0 +1,3 @@
[gd_scene format=3 uid="uid://db2rhq8rwv5wo"]
[node name="Node" type="Node"]

View file

@ -0,0 +1,8 @@
shader_type canvas_item;
void fragment() {
float v = (COLOR.r + COLOR.g + COLOR.b) / 3.0;
COLOR.r = v;
COLOR.g = v;
COLOR.b = v;
}

View file

@ -0,0 +1 @@
uid://dvarqolt6es27

10
examples/hsv.gdshader Normal file
View file

@ -0,0 +1,10 @@
shader_type canvas_item;
#include "./shaderlib/hsv.gdshaderinc"
void fragment() {
vec4 hsv = rgb2hsv(COLOR);
hsv.xyz += vec3(0.65, .42-(hsv.y*.3), -.125);
hsv.xyz *= vec3(1.0, 1.0, 1.25);
COLOR = hsv2rgb(hsv);
}

View file

@ -0,0 +1 @@
uid://gd23hu7ro148

View file

@ -0,0 +1,5 @@
# Example Images
- swamp.jpg by [clfr21 on Pixabay](https://pixabay.com/de/users/clfr21-6530007/)
- mountain.jpg by [Phghvvcftyyufj on Pixabay](https://pixabay.com/users/phghvvcftyyufj-12646982)

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 KiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ben72llmopgaj"
path="res://.godot/imported/mountain.jpg-c1b7de1e6557b826bc6f9324027e11af.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/images/mountain.jpg"
dest_files=["res://.godot/imported/mountain.jpg-c1b7de1e6557b826bc6f9324027e11af.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

BIN
examples/images/swamp.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 KiB

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ckjb0agn5btv7"
path="res://.godot/imported/swamp.jpg-1dfdcd52a5ef03d42a82a7f06acefa98.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://examples/images/swamp.jpg"
dest_files=["res://.godot/imported/swamp.jpg-1dfdcd52a5ef03d42a82a7f06acefa98.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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

View file

@ -0,0 +1,9 @@
shader_type canvas_item;
const float threshold = 0.6;
void fragment() {
vec4 tex = texture(TEXTURE , UV);
COLOR.rgb = min(tex.rgb, vec3(threshold));
COLOR.a = tex.a;
}

View file

@ -0,0 +1 @@
uid://dn02xsjm1kok8

10
examples/oklab.gdshader Normal file
View file

@ -0,0 +1,10 @@
shader_type canvas_item;
#include "./shaderlib/oklab.gdshaderinc"
void fragment() {
vec4 oklab = rgb2oklab(COLOR);
vec4 oklch = oklab2oklch(oklab);
oklch.z -= 2.0;
COLOR = oklab2rgb(oklch2oklab(oklch));
}

View file

@ -0,0 +1 @@
uid://cu37y8lc0x83

15
examples/project.godot_ Normal file
View file

@ -0,0 +1,15 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="Pigment Project"
run/main_scene="res://0_empty.tscn"
config/features=PackedStringArray("4.4", "Forward Plus")

1
examples/shaderlib Symbolic link
View file

@ -0,0 +1 @@
../shaderlib