Add modified Fragmented project files
This commit is contained in:
parent
f99f1fbc9b
commit
77ce93fb15
57 changed files with 1696 additions and 0 deletions
3
examples/0_empty.tscn
Normal file
3
examples/0_empty.tscn
Normal file
|
@ -0,0 +1,3 @@
|
|||
[gd_scene format=3 uid="uid://db2rhq8rwv5wo"]
|
||||
|
||||
[node name="Node" type="Node"]
|
8
examples/greyscale.gdshader
Normal file
8
examples/greyscale.gdshader
Normal 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;
|
||||
}
|
1
examples/greyscale.gdshader.uid
Normal file
1
examples/greyscale.gdshader.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://dvarqolt6es27
|
10
examples/hsv.gdshader
Normal file
10
examples/hsv.gdshader
Normal 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);
|
||||
}
|
1
examples/hsv.gdshader.uid
Normal file
1
examples/hsv.gdshader.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://gd23hu7ro148
|
5
examples/images/CREDITS.md
Normal file
5
examples/images/CREDITS.md
Normal 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)
|
BIN
examples/images/mountain.jpg
Normal file
BIN
examples/images/mountain.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 814 KiB |
40
examples/images/mountain.jpg.import
Normal file
40
examples/images/mountain.jpg.import
Normal 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
BIN
examples/images/swamp.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 477 KiB |
40
examples/images/swamp.jpg.import
Normal file
40
examples/images/swamp.jpg.import
Normal 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
|
9
examples/lowpass.gdshader
Normal file
9
examples/lowpass.gdshader
Normal 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;
|
||||
}
|
1
examples/lowpass.gdshader.uid
Normal file
1
examples/lowpass.gdshader.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://dn02xsjm1kok8
|
10
examples/oklab.gdshader
Normal file
10
examples/oklab.gdshader
Normal 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));
|
||||
}
|
1
examples/oklab.gdshader.uid
Normal file
1
examples/oklab.gdshader.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://cu37y8lc0x83
|
15
examples/project.godot_
Normal file
15
examples/project.godot_
Normal 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
1
examples/shaderlib
Symbolic link
|
@ -0,0 +1 @@
|
|||
../shaderlib
|
Loading…
Add table
Add a link
Reference in a new issue