raysan5
c661cad692
Review all RL_CALLOC() calls
All data should be properly initialized by now
5 jaren geleden
raysan5
37a6f12037
Unload model shaders and textures
They are not automatically unloaded when unloading the model!
5 jaren geleden
Ray
b525039e0a
Review ALL examples
5 jaren geleden
Ray
6332bc0398
Corrected issue with shader loading
When using FormatText() several times in same function, returned string is static and so, the same is returned, resulting in failures on shader loading.
5 jaren geleden
Ray
245cf2400e
Review shader examples
5 jaren geleden
Ray
c23ceec338
Added missing include -_-
5 jaren geleden
Ray
9282b8ba83
ADDED: SetShaderValueTexture()
Some tweaks
5 jaren geleden
Ray
c600dd0766
Review PBR shaders
Issue was related to vertex tangent attibutes not uploaded to GPU, a quick solution was implemented for new vertex attributes loading for already existing meshes... I don't like it specially but it will work for now.
5 jaren geleden
Ray
be6d237b9e
Review models examples
5 jaren geleden
Ray
55f8dbc755
WARNING: Redesigned SetShaderValue()
6 jaren geleden
raysan5
5c614f6975
Some code tweaks
6 jaren geleden
Ahmad Fatoum
7c36237048
Example: Don't load texture removed from source tree
Fixes: c3b948b1
("Replaced skybox HDR image")
6 jaren geleden
Ray
04db494db0
Renamed shader variable
6 jaren geleden
Ray San
6045062a05
Renamed some functions
- Renamed Begin3dMode() --> BeginMode3D()
- Renamed Begin2dMode() --> BeginMode2D()
- Renamed End3dMode() --> EndMode3D()
- Renamed End2dMode() --> EndMode2D()
6 jaren geleden
raysan5
23e335d933
Implemented MeshTangents()
- Added Vector3OrthoNormalize() to raymath.h - not sure if it is correct
- Implemented MeshBinormals() - Mesh struct has not a place for them...
- Updated model_material_pbr example - tested but not working on my GPU
(old Intel HD), actually, it never worked on it...
6 jaren geleden
Ray San
4cc12ef2b3
Review camera definition on examples
6 jaren geleden
raysan5
d6c1159fce
Corrected typo
6 jaren geleden
Ray San
8ace02c2ff
Added new examples to build...
...and reviewed some details
7 jaren geleden
raysan5
c764b3d03e
Some tweaks
7 jaren geleden
raysan5
2679c4ae9b
Review mesh loading and textures generation
7 jaren geleden
raysan5
4c06725461
Removed useless functions
SetMaterialTexture() and UnsetMaterialTexture()... too shader
dependant...
7 jaren geleden
raysan5
76c6f0b1e6
Working on PBR system
Moved PBR material loading to example, right decision?
7 jaren geleden
raysan5
d368403a13
Working on PBR materials, renamed some data
7 jaren geleden
Ray
6546474fa4
Manual integration of material-pbr into develop
7 jaren geleden