summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/resources
AgeCommit message (Collapse)Author
2024-06-11Fix fragPosition using wrong matrix in lighting_instancing.vs (#4056)Karl Zylinski
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-05-05Minor formatting tweaksRay
2023-12-23Review formatingRay
2023-12-19Add shadowmapping example (#3653)TheManTheMythTheGameDev
2023-12-15basic PBR example (#3621)devdad
* 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-11-18Added glsl 100 and 120 shaders to lightmap example. (#3543)Jussi Viitala
* Added glsl 100 and 120 shaders to lightmap example. * Fixed lightmap example resource loading on web.
2023-11-08REVIEWED: `Makefile.Web`, reorganize and add examplesRay
2023-11-01Remove unused structures from lighting fragment shaders (#3497)Jeffery Myers
2023-10-31examples/shaders: Add an example for deferred shading (#3496)Justin
* add example for deferred rendering/shading * adapt convention --------- Co-authored-by: 27justin <[email protected]>
2023-10-29Fix the Julia set shader example (#3467)Josh Colclough
* Simplify POI selection * Improve mouse logic * Add colour cycles to the shader to show finer details. Works well with high iteration numbers * Testing things... * Actually fix zoom. Also allow user to reset camera with 'R' * Reset max iterations * Tidying & comments * Revert to original if statement * Make mouse logic more readable * Style conventions * Coding conventions - f postifx on floating points * Missed a few f postfixes
2023-10-01Texture Tiling Example - luis605 (#3353)Luís Almeida
* Texture Tiling Example - luis605 * Removed SetTraceLogLevel(LOG_WARNING);
2023-08-28Remove e from secondes (#3270)Ethan Conneely
2023-05-04REVIEWED: Ligthmap exampleRay
2023-05-04Lightmap example. (#3043)Jussi Viitala
2023-03-14Update write_depth.fsRay
2023-02-11Added raymarch example and thumbnail for write depth (#2919)BugraAlptekinSari
2023-01-01REVIEWED: `shaders_write_depth` exampleRay
2023-01-01[example] Writing into the depth buffer (#2836)BugraAlptekinSari
* Add a depth buffer example. * Fixed a typo
2022-11-22Rename lighting_instanced shader (glsl100) to lighting_instancing (#2805)gtrxAC
* JSON parser: Use array for function params (#2255) * Parser: follow C convention of type before name * Update file names in build scripts * Rename lighting_instanced shader to instancing
2022-09-19REVIEWED: Renamed some shaders, fix #2707Ray
2022-08-29ADDED: `lighting.fs` for GLSL120 Fix #2651Ray
2022-07-04REVIEWED: `DrawMesh()` #2511Ray
Disable color vertex attribute if not provided by mesh
2022-06-21REVIEWED: example: shaders_mesh_instancingRay
Simplified example
2021-10-31REVIEWED: example: Compute shader Game-of-lifeRay
2021-10-31Add Conway's Game of Life compute shader example. (#2088)Astie Teddy
* Add Conway's Game of Life compute shader example. * Fix various shaders problems, and tune command buffer size. * Various coding convention changes.
2021-10-19REVIEWED: models_yaw_pitch_rollraysan5
2021-10-19Remove trailing spacesraysan5
2021-10-17Reviewed makefile and examples buildingraysan5
2021-10-12REVIEWED: EXAMPLE: shaders_shapes_outlineraysan5
Removed unneeded resources to use raylib ones.
2021-07-18Add example shaders_shapes_outline.c (#1883)GoldenThumbs
2021-07-16Improve assets license informationraysan5
2021-07-16Update texel_checker.pngraysan5
2021-03-31ADDED: Support model normal matrix location #1691raysan5
2021-03-31REVIEWED: DrawMeshInstanced() matrix computationsraysan5
Simplified some parts and reviewed for a correct computation of matrices, considering stereo render view/projection per eye transformations
2021-03-31RENAMED: example: shaders_mesh_instancingraysan5
shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
2021-03-17Create reload.fsRay
2021-03-17REVIEWED: shaders_multi_sample2dRay
2021-01-31out is a keyword in shaders and can't be used as a variable name. (#1558)Jeffery Myers
Co-authored-by: Jeffery Myers <[email protected]>
2021-01-25Replace tabs by 4 spacesraysan5
2020-12-03Update user nameRay
2020-11-01Review contributed examplesRay
2020-10-29Support multiple sample2D on batch drawing #1333Ray
2020-10-29Updated assetsRay
Reduce size and better license CC0
2020-09-27[wip] rlDrawMeshInstanced (#1318)seanpringle
* rlDrawMeshInstanced first attempt * rlDrawMeshInstanced OpenGL 3.3 and VAO checks * rlDrawMeshInstanced GetShaderAttribLocation; comments * example instanced shader * RLGL_STANDALONE RAYMATH_STANDALONE Vector4 * apply suggested naming changes; add instanced mesh example * remove orphan variables
2020-09-15Corrected issue with floor() #1377raysan5
2020-08-16NEW EXAMPLE: shaders_hot_reloading #1198raysan5
2020-07-30Fix color of ambient light (#1330)Adrie
2020-06-07Update raysan.pngraysan5
2020-06-02Review some png imagesraysan5
2020-05-28resources PNG chunks cleaningraysan5