summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_material_pbr.c
diff options
context:
space:
mode:
authorRay <[email protected]>2018-05-06 00:44:59 +0200
committerRay <[email protected]>2018-05-06 00:44:59 +0200
commit04db494db0d8bd6b645c941a9920925531d6ad5e (patch)
treebe2b3adaec6d70a5717248fa3e69564d14712ed1 /examples/models/models_material_pbr.c
parentf14492432d590cef90cb747a2063f6998a61f108 (diff)
downloadraylib-04db494db0d8bd6b645c941a9920925531d6ad5e.tar.gz
raylib-04db494db0d8bd6b645c941a9920925531d6ad5e.zip
Renamed shader variable
Diffstat (limited to 'examples/models/models_material_pbr.c')
-rw-r--r--examples/models/models_material_pbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_material_pbr.c b/examples/models/models_material_pbr.c
index 33f13e2c..d50ef3da 100644
--- a/examples/models/models_material_pbr.c
+++ b/examples/models/models_material_pbr.c
@@ -122,7 +122,7 @@ static Material LoadMaterialPBR(Color albedo, float metalness, float roughness)
mat.shader.locs[LOC_MAP_BRDF] = GetShaderLocation(mat.shader, "brdfLUT");
// Set view matrix location
- mat.shader.locs[LOC_MATRIX_MODEL] = GetShaderLocation(mat.shader, "mMatrix");
+ mat.shader.locs[LOC_MATRIX_MODEL] = GetShaderLocation(mat.shader, "matModel");
mat.shader.locs[LOC_MATRIX_VIEW] = GetShaderLocation(mat.shader, "view");
mat.shader.locs[LOC_VECTOR_VIEW] = GetShaderLocation(mat.shader, "viewPos");