raylib/examples/shaders
devdad 9bdc217987
basic PBR example (#3621)
* 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
2023-12-15 17:13:44 +01:00
..
resources basic PBR example (#3621) 2023-12-15 17:13:44 +01:00
rlights.h Update year to 2023 2023-01-01 16:00:56 +01:00
rpbr.h basic PBR example (#3621) 2023-12-15 17:13:44 +01:00
shaders_basic_lighting.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_basic_lighting.png REVIEWED: shaders_basic_lighting #1865 2021-07-16 17:18:32 +02:00
shaders_basic_pbr.c basic PBR example (#3621) 2023-12-15 17:13:44 +01:00
shaders_custom_uniform.c REVIEWED: Added new examples to VS2022 solution 2023-11-08 17:41:08 +01:00
shaders_custom_uniform.png Reviewed models and examples 2018-06-30 20:02:32 +02:00
shaders_deferred_render.c Update shaders_deferred_render.c 2023-10-31 20:59:08 +01:00
shaders_deferred_render.png REVIEWED: Added new examples to VS2022 solution 2023-11-08 17:41:08 +01:00
shaders_eratosthenes.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_eratosthenes.png new example: shaders_eratosthenes 2019-05-16 17:23:31 +02:00
shaders_fog.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_fog.png Update examples screenshots 2021-10-17 21:39:52 +02:00
shaders_hot_reloading.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_hot_reloading.png NEW EXAMPLE: shaders_hot_reloading #1198 2020-08-16 11:18:25 +02:00
shaders_hybrid_render.c Examples reviews 2023-11-08 23:28:31 +01:00
shaders_hybrid_render.png Added raymarch example and thumbnail for write depth (#2919) 2023-02-11 13:37:50 +01:00
shaders_julia_set.c Fix the Julia set shader example (#3467) 2023-10-29 16:41:02 +01:00
shaders_julia_set.png Update example! 2019-05-15 17:00:50 +02:00
shaders_lightmap.c Added glsl 100 and 120 shaders to lightmap example. (#3543) 2023-11-18 20:02:33 +01:00
shaders_lightmap.png REVIEWED: Ligthmap example 2023-05-04 20:35:20 +02:00
shaders_mesh_instancing.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_mesh_instancing.png RENAMED: example: shaders_mesh_instancing 2021-03-31 18:40:04 +02:00
shaders_model_shader.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_model_shader.png Reviewed models and examples 2018-06-30 20:02:32 +02:00
shaders_multi_sample2d.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_multi_sample2d.png Review contributed examples 2020-11-01 13:39:48 +01:00
shaders_palette_switch.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_palette_switch.png examples review 2019-05-17 01:17:40 +02:00
shaders_postprocessing.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_postprocessing.png Reviewed models and examples 2018-06-30 20:02:32 +02:00
shaders_raymarching.c REVIEWED: Potential code issues reported by CodeQL #3476 2023-11-01 15:28:18 +01:00
shaders_raymarching.png new example: shaders_raymarching 2018-12-20 09:55:33 +01:00
shaders_shapes_textures.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_shapes_textures.png Replaced some images and updated examples 2017-04-14 13:58:39 +02:00
shaders_simple_mask.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_simple_mask.png Review example and screenshots 2020-01-09 12:58:24 +01:00
shaders_spotlight.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_spotlight.png [example] Review shaders_spotlight to work on GLSL 100 2020-03-25 18:39:21 +01:00
shaders_texture_drawing.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_texture_drawing.png new example: shaders_texture_drawing 2019-04-11 16:53:20 +02:00
shaders_texture_outline.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_texture_outline.png Fix examples/shaders/shaders_texture_outline.c help instructions (#3278) 2023-08-30 22:42:01 +02:00
shaders_texture_tiling.c REVIEWED: Added new examples to VS2022 solution 2023-11-08 17:41:08 +01:00
shaders_texture_tiling.png REVIEWED: Added new examples to VS2022 solution 2023-11-08 17:41:08 +01:00
shaders_texture_waves.c Remove PLATFORM_RPI (#3232) 2023-09-07 17:42:28 +02:00
shaders_texture_waves.png new examples: shaders_texture_waves 2019-05-14 00:07:34 +02:00
shaders_write_depth.c Remove BOM 2023-11-08 20:37:35 +01:00
shaders_write_depth.png Added raymarch example and thumbnail for write depth (#2919) 2023-02-11 13:37:50 +01:00