raylib/examples/shaders/resources/shaders/glsl120
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
..
base.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
base.vs Remove trailing spaces 2021-10-19 14:57:12 +02:00
bloom.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
blur.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
cross_hatching.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
cross_stitching.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
distortion.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
dream_vision.fs Replace tabs by 4 spaces 2021-01-25 17:53:04 +01:00
fisheye.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
fog.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
grayscale.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
lighting.fs Remove unused structures from lighting fragment shaders (#3497) 2023-11-01 12:16:14 +01:00
lighting.vs REVIEWED: Renamed some shaders, fix #2707 2022-09-19 18:29:08 +02:00
lightmap.fs Added glsl 100 and 120 shaders to lightmap example. (#3543) 2023-11-18 20:02:33 +01:00
lightmap.vs Added glsl 100 and 120 shaders to lightmap example. (#3543) 2023-11-18 20:02:33 +01:00
palette_switch.fs Example review 2019-05-06 09:41:54 +02:00
pbr.fs basic PBR example (#3621) 2023-12-15 17:13:44 +01:00
pbr.vs basic PBR example (#3621) 2023-12-15 17:13:44 +01:00
pixelizer.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
posterization.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
predator.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
scanlines.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
sobel.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
swirl.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00