raylib/examples/shaders/resources/shaders/glsl100
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
..
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 Replace tabs by 4 spaces 2021-01-25 17:53:04 +01:00
blur.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
color_mix.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
cubes_panning.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
depth.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
eratosthenes.fs Remove trailing spaces 2021-10-19 14:57:12 +02: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
hybrid_raster.fs Added raymarch example and thumbnail for write depth (#2919) 2023-02-11 13:37:50 +01:00
hybrid_raymarch.fs Added raymarch example and thumbnail for write depth (#2919) 2023-02-11 13:37:50 +01:00
julia_set.fs Fix the Julia set shader example (#3467) 2023-10-29 16:41:02 +01:00
lighting.fs 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
lighting.vs REVIEWED: Renamed some shaders, fix #2707 2022-09-19 18:29:08 +02:00
lighting_instancing.vs Rename lighting_instanced shader (glsl100) to lighting_instancing (#2805) 2022-11-22 18:16:44 +01: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
mask.fs Review shader exaples to work on web (GLSL 100) 2020-03-02 13:27:54 +01:00
outline.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
palette_switch.fs Minor formatting tweaks 2024-05-05 19:46:31 +02:00
pbr.fs Update shaders_basic_pbr example to work on web (#4516) 2024-11-20 11:25:31 +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
raymarching.fs Reviewed shader 2024-08-06 18:32:14 +02:00
reload.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
spotlight.fs Remove trailing spaces 2021-10-19 14:57:12 +02:00
swirl.fs REVIEWED: Makefile.Web, reorganize and add examples 2023-11-08 18:10:29 +01:00
tiling.fs REVIEWED: Makefile.Web, reorganize and add examples 2023-11-08 18:10:29 +01:00
vertex_displacement.fs [examples] Add new example: shaders_vertex_displacement (#4186) 2024-08-04 21:58:26 +02:00
vertex_displacement.vs [examples] Add new example: shaders_vertex_displacement (#4186) 2024-08-04 21:58:26 +02:00
wave.fs Remove e from secondes (#3270) 2023-08-28 22:49:45 +02:00
write_depth.fs REVIEWED: shaders_write_depth example 2023-01-01 18:31:03 +01:00