TheManTheMythTheGameDev
1fc3d9aeb2
Add shadowmapping example ( #3653 )
1 year ago
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
1 year ago
Jussi Viitala
25c6c12150
Added glsl 100 and 120 shaders to lightmap example. ( #3543 )
* Added glsl 100 and 120 shaders to lightmap example.
* Fixed lightmap example resource loading on web.
1 year ago
Ray
21354119cc
REVIEWED: `Makefile.Web`, reorganize and add examples
1 year ago
Jeffery Myers
38205d67da
Remove unused structures from lighting fragment shaders ( #3497 )
1 year ago
Justin
3645244f9f
examples/shaders: Add an example for deferred shading ( #3496 )
* add example for deferred rendering/shading
* adapt convention
---------
Co-authored-by: 27justin <me@justin.cx>
1 year ago
Josh Colclough
975d4154e6
Fix the Julia set shader example ( #3467 )
* 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
1 year ago
Luís Almeida
bc15c19518
Texture Tiling Example - luis605 ( #3353 )
* Texture Tiling Example - luis605
* Removed SetTraceLogLevel(LOG_WARNING);
1 year ago
Ethan Conneely
fc0d132566
Remove e from secondes ( #3270 )
1 year ago
Ray
5573f0f1c7
REVIEWED: Ligthmap example
2 years ago
Jussi Viitala
abcbd9817e
Lightmap example. ( #3043 )
2 years ago
Ray
54ccb18e87
Update write_depth.fs
2 years ago
BugraAlptekinSari
4ae0a416f4
Added raymarch example and thumbnail for write depth ( #2919 )
2 years ago
Ray
5ba41e4f7f
REVIEWED: `shaders_write_depth` example
2 years ago
BugraAlptekinSari
3cfb9a6e83
[example] Writing into the depth buffer ( #2836 )
* Add a depth buffer example.
* Fixed a typo
2 years ago
gtrxAC
c48de2d1af
Rename lighting_instanced shader (glsl100) to lighting_instancing ( #2805 )
* 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
2 years ago
Ray
0e5cd442be
REVIEWED: Renamed some shaders, fix #2707
2 years ago
Ray
4b76aa09dd
ADDED: `lighting.fs` for GLSL120 Fix #2651
2 years ago
Ray
c6c71fe73c
REVIEWED: `DrawMesh()` #2511
Disable color vertex attribute if not provided by mesh
2 years ago
Ray
3879decb9f
REVIEWED: example: shaders_mesh_instancing
Simplified example
3 years ago
Ray
1fac09d0f4
REVIEWED: example: Compute shader Game-of-life
3 years ago
Astie Teddy
f090f5444c
Add Conway's Game of Life compute shader example. ( #2088 )
* Add Conway's Game of Life compute shader example.
* Fix various shaders problems, and tune command buffer size.
* Various coding convention changes.
3 years ago
raysan5
2e151408bb
REVIEWED: models_yaw_pitch_roll
3 years ago
raysan5
fec0ce34c5
Remove trailing spaces
3 years ago
raysan5
f437f7b405
Reviewed makefile and examples building
3 years ago
raysan5
1b91ac0b0d
REVIEWED: EXAMPLE: shaders_shapes_outline
Removed unneeded resources to use raylib ones.
3 years ago
GoldenThumbs
64e786fe28
Add example shaders_shapes_outline.c ( #1883 )
3 years ago
raysan5
7d2845a661
Improve assets license information
3 years ago
raysan5
30a3dae8a6
Update texel_checker.png
3 years ago
raysan5
cdc3754449
ADDED: Support model normal matrix location #1691
4 years ago
raysan5
c772de702b
REVIEWED: DrawMeshInstanced() matrix computations
Simplified some parts and reviewed for a correct computation of matrices, considering stereo render view/projection per eye transformations
4 years ago
raysan5
fd3e2fda00
RENAMED: example: shaders_mesh_instancing
shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
4 years ago
Ray
bae423be41
Create reload.fs
4 years ago
Ray
ff6d5c8ddb
REVIEWED: shaders_multi_sample2d
4 years ago
Jeffery Myers
2884b88101
out is a keyword in shaders and can't be used as a variable name. ( #1558 )
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
4 years ago
raysan5
65b299c6cf
Replace tabs by 4 spaces
4 years ago
Ray
7e9028ae08
Update user name
4 years ago
Ray
8e15dae5ed
Review contributed examples
4 years ago
Ray
8a16348131
Support multiple sample2D on batch drawing #1333
4 years ago
Ray
37e2d993e7
Updated assets
Reduce size and better license CC0
4 years ago
seanpringle
4bcddc3b15
[wip] rlDrawMeshInstanced ( #1318 )
* 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
4 years ago
raysan5
405d3fac0c
Corrected issue with floor() #1377
4 years ago
raysan5
26f6a64a39
NEW EXAMPLE: shaders_hot_reloading #1198
4 years ago
Adrie
3c095f9d34
Fix color of ambient light ( #1330 )
4 years ago
raysan5
0fda4b1183
Update raysan.png
5 years ago
raysan5
8a501ef06d
Review some png images
5 years ago
raysan5
fed4716c3b
resources PNG chunks cleaning
5 years ago
raysan5
15e1e9ba24
Added resources license
5 years ago
raysan5
74339b9fdc
[example] Review shaders_spotlight to work on GLSL 100
5 years ago
chriscamacho
2dbcef218c
spotlight example, each spot has own radius, mouse countrol ( #1148 )
NB glsl100 shader needs testing on "bare metal"
Co-authored-by: codifies <nospam@antispam.com>
5 years ago