Skip to content

Commit 0bbe302

Browse files
committed
2 parents 6a5b7fb + 40594f3 commit 0bbe302

File tree

17 files changed

+6620
-4
lines changed

17 files changed

+6620
-4
lines changed

examples/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ SHADERS = \
655655
shaders/shaders_ascii_rendering \
656656
shaders/shaders_basic_lighting \
657657
shaders/shaders_basic_pbr \
658+
shaders/shaders_color_correction \
658659
shaders/shaders_custom_uniform \
659660
shaders/shaders_deferred_rendering \
660661
shaders/shaders_depth_rendering \

examples/Makefile.Web

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ SHADERS = \
655655
shaders/shaders_ascii_rendering \
656656
shaders/shaders_basic_lighting \
657657
shaders/shaders_basic_pbr \
658+
shaders/shaders_color_correction \
658659
shaders/shaders_custom_uniform \
659660
shaders/shaders_deferred_rendering \
660661
shaders/shaders_depth_rendering \
@@ -1261,6 +1262,14 @@ shaders/shaders_basic_pbr: shaders/shaders_basic_pbr.c
12611262
--preload-file shaders/resources/road_mra.png@resources/road_mra.png \
12621263
--preload-file shaders/resources/road_n.png@resources/road_n.png
12631264

1265+
shapes/shapes_recursive_tree: shaders/shaders_color_correction.c
1266+
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
1267+
--preload-file shaders/resources/shaders/glsl100/color_correction.fs@resources/shaders/glsl100/color_correction.fs \
1268+
--preload-file shaders/resources/parrots.png@resources/parrots.png \
1269+
--preload-file shaders/resources/cat.png@resources/cat.png \
1270+
--preload-file shaders/resources/mandrill.png@resources/mandrill.png \
1271+
--preload-file shaders/resources/fudesumi.png@resources/fudesumi.png
1272+
12641273
shaders/shaders_custom_uniform: shaders/shaders_custom_uniform.c
12651274
$(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \
12661275
--preload-file shaders/resources/models/barracks.obj@resources/models/barracks.obj \

examples/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You may find it easier to use than other toolchains, especially when it comes to
1717
- `zig build [module]` to compile all examples for a module (e.g. `zig build core`)
1818
- `zig build [example]` to compile _and run_ a particular example (e.g. `zig build core_basic_window`)
1919

20-
## EXAMPLES COLLECTION [TOTAL: 187]
20+
## EXAMPLES COLLECTION [TOTAL: 188]
2121

2222
### category: core [45]
2323

@@ -196,7 +196,7 @@ Examples using raylib models functionality, including models loading/generation
196196
| [models_basic_voxel](models/models_basic_voxel.c) | <img src="models/models_basic_voxel.png" alt="models_basic_voxel" width="80"> | ⭐⭐☆☆ | 5.5 | 5.5 | [Tim Little](https://github.com/timlittle) |
197197
| [models_rotating_cube](models/models_rotating_cube.c) | <img src="models/models_rotating_cube.png" alt="models_rotating_cube" width="80"> | ⭐☆☆☆ | 5.6-dev | 5.6-dev | [Jopestpe](https://github.com/jopestpe) |
198198

199-
### category: shaders [31]
199+
### category: shaders [32]
200200

201201
Examples using raylib shaders functionality, including shaders loading, parameters configuration and drawing using them (model shaders and postprocessing shaders). This functionality is directly provided by raylib [rlgl](../src/rlgl.c) module.
202202

@@ -233,6 +233,7 @@ Examples using raylib shaders functionality, including shaders loading, paramete
233233
| [shaders_rounded_rectangle](shaders/shaders_rounded_rectangle.c) | <img src="shaders/shaders_rounded_rectangle.png" alt="shaders_rounded_rectangle" width="80"> | ⭐⭐⭐☆ | 5.5 | 5.5 | [Anstro Pleuton](https://github.com/anstropleuton) |
234234
| [shaders_depth_rendering](shaders/shaders_depth_rendering.c) | <img src="shaders/shaders_depth_rendering.png" alt="shaders_depth_rendering" width="80"> | ⭐⭐⭐☆ | 5.6-dev | 5.6-dev | [Luís Almeida](https://github.com/luis605) |
235235
| [shaders_mandelbrot_set](shaders/shaders_mandelbrot_set.c) | <img src="shaders/shaders_mandelbrot_set.png" alt="shaders_mandelbrot_set" width="80"> | ⭐⭐⭐☆ | 5.6 | 5.6 | [Jordi Santonja](https://github.com/JordSant) |
236+
| [shaders_color_correction](shaders/shaders_color_correction.c) | <img src="shaders/shaders_color_correction.png" alt="shaders_color_correction" width="80"> | ⭐⭐☆☆ | 5.6 | 5.6 | [Jordi Santonja](https://github.com/JordSant) |
236237

237238
### category: audio [8]
238239

examples/examples_list.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ shaders;shaders_texture_outline;★★★☆;4.0;4.0;2021;2025;"Serenity Skiff";
163163
shaders;shaders_texture_waves;★★☆☆;2.5;3.7;2019;2025;"Anata";@anatagawa
164164
shaders;shaders_julia_set;★★★☆;2.5;4.0;2019;2025;"Josh Colclough";@joshcol9232
165165
shaders;shaders_mandelbrot_set;★★★☆;5.6;5.6;2025;2025;"Jordi Santonja";@JordSant
166+
shaders;shaders_color_correction;★★☆☆;5.6;5.6;2025;2025;"Jordi Santonja";@JordSant
166167
shaders;shaders_eratosthenes_sieve;★★★☆;2.5;4.0;2019;2025;"ProfJski";@ProfJski
167168
shaders;shaders_fog_rendering;★★★☆;2.5;3.7;2019;2025;"Chris Camacho";@chriscamacho
168169
shaders;shaders_simple_mask;★★☆☆;2.5;3.7;2019;2025;"Chris Camacho";@chriscamacho

0 commit comments

Comments
 (0)