Ray
811ec4fb1e
REVIEWED: shaders_shadowmap_rendering example
2025-09-08 21:02:58 +02:00
Ray
ef0dd5f774
REXM: Updated examples after some renames
2025-09-08 21:01:59 +02:00
Ray
c7f8843200
REXM: RENAME: example: shaders_eratosthenes --> shaders_eratosthenes_sieve
2025-09-08 20:37:27 +02:00
Ray
851bb3120d
REXM: RENAME: example: shaders_view_depth --> shaders_depth_rendering
2025-09-08 20:37:11 +02:00
Ray
4a23ed698f
REXM: RENAME: example: shaders_raymarching --> shaders_raymarching_rendering
2025-09-08 20:34:48 +02:00
Ray
f4f3325e1e
REXM: RENAME: example: shaders_spotlight --> shaders_spotlight_rendering
2025-09-08 20:34:33 +02:00
Ray
11ca32493a
REXM: RENAME: example: shaders_lightmap --> shaders_lightmap_rendering
2025-09-08 20:34:16 +02:00
Ray
07070b81e8
REXM: RENAME: example: shaders_shadowmap --> shaders_shadowmap_rendering
2025-09-08 20:33:36 +02:00
Ray
6afc608477
REXM: RENAME: example: shaders_normal_map --> shaders_normalmap_rendering
2025-09-08 20:33:18 +02:00
Ray
4cf4c6645e
REXM: RENAME: example: shaders_hybrid_render --> shaders_hybrid_rendering
2025-09-08 20:30:45 +02:00
Ray
14bef50464
REXM: RENAME: example: shaders_deferred_render --> shaders_deferred_rendering
2025-09-08 20:30:26 +02:00
Ray
25f4e544d1
REXM: UPDATED: Examples source code header info, aligned with name
2025-09-07 12:01:51 +02:00
Ray
e1dfb4cd4e
Update shaders_normal_map.c
2025-09-07 11:44:03 +02:00
Ray
2d19abb2cf
REXM: REVIEWED: Examples header info inconsistencies
2025-09-07 11:04:00 +02:00
Ray
e5cef3c0d8
REXM: Reviewed examples source code headers metadata
2025-09-07 10:46:51 +02:00
Ray
eb816898e5
Revert "Added creation-review years to examples"
...
This reverts commit b5e25916fc .
2025-09-05 23:02:06 +02:00
Ray
b5e25916fc
Added creation-review years to examples
2025-09-05 11:25:24 +02:00
Ray
a51cb7fe30
REXM: Updated some examples inconsistencies
2025-09-04 19:15:37 +02:00
Ray
d97e0a8ac7
REXM: RENAME: example: shaders_texture_drawing --> shaders_texture_rendering
2025-09-04 11:27:32 +02:00
Ray
41dee9e9f9
REXM: RENAME: example: shaders_fog --> shaders_fog_rendering
2025-09-04 11:12:01 +02:00
Ray
dd0587e12a
Update shaders_texture_drawing.c
2025-09-04 10:33:22 +02:00
Ray
2e376c6f5b
Update shaders_spotlight.c
2025-09-04 10:33:14 +02:00
Ray
2a295210fb
Update shaders_spotlight.c
2025-09-03 19:58:38 +02:00
Ray
c579eef4b7
REVIEWED: Examples section comments, for better organization and consistency
2025-09-03 10:40:31 +02:00
Ray
aa475b1046
REVIEWED: Code sections description for consistency
2025-09-02 12:34:04 +02:00
Ray
b6ae380260
REVIEWED: Examples comments, consistent code sections
2025-09-02 12:10:16 +02:00
JohnnyCena123
0e73e0ea64
reviewed ALL non-external files to follow raylib's convention of no spaces around / or * ( #5153 )
2025-08-29 14:53:16 +02:00
Ray
a72b4b177b
Updated examples short description
2025-08-26 00:32:24 +02:00
Maicon Santana
69021939e6
fix write_depth.fs glsl120
2025-08-23 13:06:56 +01:00
Maicon Santana
c6d7694286
set glsl100 back to 100
2025-08-23 10:17:11 +01:00
Ray
a8dfd9db76
REXM: RENAMED: shaders_normalmap --> shaders_normal_map
2025-08-18 14:35:04 +02:00
Ray
503e6d8bb5
Merge branch 'master' into julia_set
2025-08-11 20:26:16 +02:00
Ray
9b598f6bcf
REVIEWED: Shaders formating to follow raylib code conventions
2025-08-11 20:22:31 +02:00
Ray
8dae39fbda
ADDED: Missing GLSL120 shaders
2025-08-11 20:22:02 +02:00
Maicon Santana
00f7121b1c
Increasing maxInterations glsl100 to 255 to match with glsl330 and add glsl120
2025-08-11 18:16:00 +01:00
Ray
570082deba
WARNING: **NEW** raylib code CONVENTION: Comments do not end with '.'
2025-08-07 18:23:20 +02:00
Ray
2365ac8def
REVIEWED: Example shaders_normalmap #5032
2025-08-07 17:31:11 +02:00
Ray
54473e2c2b
REVIEWED: Example shaders_normalmap, it crashes #5032
2025-08-07 17:28:25 +02:00
Ray
a06962ee38
Merge branch 'master' into normalmap_example
2025-08-07 17:17:12 +02:00
Ray
f0889a74fe
EXAMPLES: Format tweaks
2025-08-07 17:08:22 +02:00
Ray
d45b00b191
Update shaders_rounded_rectangle.c
2025-08-07 17:07:26 +02:00
Ray
1fadc67fb3
ADDED: Missing resources on some examples
2025-08-07 17:05:25 +02:00
Ray
414235dd17
Update shaders_multi_sample2d.c
2025-07-30 16:06:43 +02:00
sir-irk
32026ca78b
fix preview image file name
2025-07-08 06:34:25 -05:00
sir-irk
86d2db2aa9
fix typo on UI and preview image
2025-07-08 05:51:14 -05:00
sir-irk
9a578dbce0
fix formatting
2025-07-08 05:47:11 -05:00
sir-irk
897a8fbc9f
adding preview image
2025-07-08 05:28:15 -05:00
sir-irk
510dc763e9
adding normal map example
2025-07-08 05:05:30 -05:00
sir-irk
ed509193d9
remving w multiply on the tangent itself
2025-07-01 15:30:50 -05:00
sir-irk
f86295732a
fixing shader tangents to be vec4
2025-07-01 15:18:11 -05:00
Pivok
0ffc8c517f
Pbr example fix
2025-05-17 12:32:17 +02:00
Jeffery Myers
eb3d96a36a
Fix cast warnings in examples.
2025-04-16 18:23:55 -07:00
Ray
cc5739a6d7
REVIEWED: Some PRs formating
2025-04-13 20:55:38 +02:00
luis605
4960cc74e0
[examples] Reviewed shader view depth
2025-04-04 22:41:34 +01:00
luis605
8ec52e3b25
Added example to build system
2025-03-26 19:47:45 +00:00
luis605
e08fc8ab80
Added new example - [shader] render depth texture
2025-03-26 16:59:05 +00:00
Ray
e4993c5557
Merge branch 'master' of https://github.com/raysan5/raylib
2025-02-25 17:50:54 +01:00
Ray
557d071fa2
Reviewed shader loading message
2025-02-25 17:50:46 +01:00
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
2025-02-25 14:26:52 +01:00
Ray
53ea275b9c
Merge branch 'master' of https://github.com/raysan5/raylib
2025-01-26 19:43:01 +01:00
Ray
861ebafe62
Update shaders_mesh_instancing.c
2025-01-26 19:42:52 +01:00
Anstro Pleuton
7bfc8e8ca7
[example] Add shaders_rounded_rectangle example ( #4719 )
...
* Add shaders_rounded_rectangle example
* Minor tweaks to example template (add star, more)
* Combine shaders
* Fix changes after review
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
2025-01-23 10:51:36 +01:00
Anstro Pleuton
773e3f5f9f
Update more examples inconsistencies ( #4711 )
...
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
2025-01-19 17:17:38 +01:00
Anstro Pleuton
945f181f1d
[examples] Update examples to be consistent ( #4699 )
...
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
2025-01-18 19:41:56 +01:00
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
...
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
2025-01-17 10:42:30 +01:00
Ray
7c7b087efb
REVIEWED: example: shaders_deferred_render -WIP-
...
Not working but shader compiles and example runs... not sure if deferred rendering could be supported in OpenGL ES 2.0.
2025-01-16 19:48:31 +01:00
Ray
cfbba79bd3
REVIEWED: example: models_textures_tiling shaders
2025-01-12 20:59:12 +01:00
Ray
fddfb58f85
REVIEWED: Potential shader issues
2025-01-12 20:39:07 +01:00
Ray
af163ba22a
REVIEWED: example: shaders_julia_set
2025-01-12 20:29:46 +01:00
Ray
2f6230e366
Formatting review and examples review
2025-01-12 18:02:36 +01:00
Ray
8e450e4446
Reviewed shaders formating to follow raylib coding conventions
2025-01-11 19:36:46 +01:00
Ray
62d8969a56
Reviewed shader formating
2025-01-10 22:56:25 +01:00
veins1
08b089f620
Reviewed shaders_deferred_render ( #4676 )
...
Fixed: g-buffer textures binding
Fixed: Clearing screen with white would leak onto g-buffer textures
Reviewed comments
2025-01-10 17:41:40 +01:00
Le Juez Victor
6eb1206660
fix shaders_deffered_render.c for OpenGL ES 3 ( #4617 )
...
This fixes an incomplete framebuffer issue due to the use of a texture format not supported in ES 3.
This commit also adds more information on how to manage deferred rendering.
2024-12-18 18:07:48 +01:00
Michael
d2cd2a0152
[rlgl][rmodels] Add instranceTransform shader location index #4538 ( #4579 )
2024-12-08 12:48:54 +01:00
Ray
6fbf08cc1f
Update pbr.fs
2024-12-01 22:41:38 +01:00
Ray
f9cf684356
Update pbr.vs
2024-12-01 22:40:46 +01:00
Ray
698bfc48fe
Update pbr.fs
2024-12-01 22:40:23 +01:00
Ray
0d39e7137b
Fix #4527
2024-11-21 12:38:29 +01:00
devdad
6af664c04e
Update shaders_basic_pbr example to work on web ( #4516 )
...
* basic pbr example
pbr implementation includes rpbr.h and few shader files header only file, which self contain everything needed for pbr rendering. Few textures and one model of the car which is under free licence which is included inside basic_pbr.c example file currently supported shader versions are 120 and 330 , version 100 has small issue which I have to resolve
* Unloading PBRMAterial
I forgot unloading PBRMaterial
* fix small issue with texOffset assigment.
value was Vector4 at first but I found out it would be unclear for and users, so I change to have two Vector2 instead, but forgot to assign offset .
* Changed size of textures and file name changed
Changed size of textures from 2048x2048 to 1024x1024 and file name changed to shaders_basic_pbr.c ,
Added the function PBRModel PBRModelLoadFromMesh(Mesh mesh);
but GenMeshPlane(2, 2.0, 3, 3) culdn't be used because it crash once GenMeshTangents() is used with that plane mesh
* Update to 5.5 version of eexample and fix to work in web
set GLSL_VERSION 100
set precision highp float;
removed in keyword
fix for loop has to use only constant
* Update shader_basic_pbr example to work on web
changed to GLSL_VERSION 100
update glsl100 shader
set float precision to highp
removed keyword in
change for loop tu use constant value gives an error
* Update shader_basic_pbr example to work on web
changed to GLSL_VERSION 100
update glsl100 shader
set float precision to highp
removed keyword in
change for loop tu use constant value gives an error
* removed rpbr.h
removed rpbr.h
2024-11-20 11:25:31 +01:00
Jeffery Myers
10fd4de258
Fix the example lighting shaders to use both frag and diffuse colors so they work with shapes and meshes. ( #4482 )
2024-11-11 19:55:33 +01:00
Jeffery Myers
728ccc96bc
Use the vertex color as part of the base shader in GLSL330 ( #4431 )
2024-10-24 23:49:30 +02:00
IcyLeave6109
15f6c47f07
Use free camera in model shader example ( #4428 )
2024-10-24 17:49:47 +02:00
Anthony Carbajal
06aeb21429
update shaders basic pbr ( #4225 )
2024-08-09 09:15:07 +02:00
Anthony Carbajal
070c1c9d63
update examples missing unloadtexture ( #4234 )
2024-08-09 09:03:27 +02:00
Ray
db8b199363
Reviewed shader
2024-08-06 18:32:14 +02:00
CDM15y
b44b759b8f
[examples][shaders_raymarching] Add raymarching.fs for GLSL120 ( #4183 )
...
* Create raymarching.fs
* Update raymarching.fs
* Update raymarching.fs
* Update raymarching.fs
Remove `fragColor` as it is unused
Move the license to the top of the code to improve readability.
2024-08-06 18:30:15 +02:00
Ray
b657001e0d
REVIEWED: shaders_vertex_displacement
2024-08-04 22:06:20 +02:00
Alex ZH
43b0c9410e
[examples] Add new example: shaders_vertex_displacement ( #4186 )
...
* shaders-vertex_displacement init
* implement simulation of wave in ocean
* update examples/README & add some comments
* update comments
* add gl100 shaders
2024-08-04 21:58:26 +02:00
CDM15y
2d94d8d06d
[examples] Fix PBR and Shadowmap example shaders for GLSL 1.20 ( #4167 )
...
* Update pbr.fs
remove presicion mediump float because it is for GLES, and not desktop GL
* Fix shadowmap.fs
also suffers the same problem as pbr.fs
2024-07-20 10:42:55 +02:00
Jeffery Myers
e96bab7ce6
[Build] Fix warnings when building in VS 2022 ( #4095 )
...
* Update raylib_api.* by CI
* Fix warnings when building examples in MSVC 2022
* fix auto-format that sneaked in there.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24 17:47:32 +02:00
Karl Zylinski
fffae1a975
Fix fragPosition using wrong matrix in lighting_instancing.vs ( #4056 )
...
fragPosition was multiplied by mvp*instanceTransform, but it should only be multiplied by instanceTransform. Compare to lighting.vs, there we only use mvp for gl_Position, but matModel for the fragPosition.
2024-06-11 20:55:13 +02:00
Ray
479bd84400
Update shaders_palette_switch.c
2024-05-15 16:19:53 +02:00
Ray
34d00d5217
Minor formatting tweaks
2024-05-05 19:46:31 +02:00
bohonghuang
d80febde7d
[rlgl] Implement vertex normals for RLGL immediate drawing mode ( #3866 )
...
* Fix several non-functional `target_compile_definitions`
* Avoid hardcoding the default vertex attribute locations
* Implement functional `rlNormal3f`
* Add normal definitions for `DrawCube`
* Update the basic lighting example to use `DrawCube` and `DrawPlane`
2024-04-23 14:22:29 +02:00
Yousif
a4819f99cb
Update shaders_hybrid_render.c ( #3908 )
...
Fix typo
2024-04-10 10:36:03 +02:00
Ray
615ee9d177
REVIEWED: rlLoadFramebuffer()
2024-02-04 12:13:56 +01:00
Ray
3f1e59a7cf
Update copyright to 2024
2024-01-02 20:58:12 +01:00
Ray
36df9c5bd6
Update shaders_basic_pbr.c
2023-12-23 18:16:06 +01:00
Ray
e039a221a3
Review formating
2023-12-23 14:07:45 +01:00