diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/models/models_material_pbr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c index 4ad2c9e7..ee13fddf 100644 --- a/examples/models/models_material_pbr.c +++ b/examples/models/models_material_pbr.c @@ -38,6 +38,7 @@ int main() // Load model and PBR material Model model = LoadModel("resources/pbr/trooper.obj"); + MeshTangents(&model.mesh); model.material = LoadMaterialPBR((Color){ 255, 255, 255, 255 }, 1.0f, 1.0f); // Define lights attributes |
