summaryrefslogtreecommitdiffhomepage
path: root/examples/models
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2018-03-11 11:01:58 +0100
committerraysan5 <[email protected]>2018-03-11 11:01:58 +0100
commitd6c1159fce69c556fefebb945fd857b3c761bfab (patch)
treeb55acfd7642e9efe5d73cf02c9a35d0d6c3812ef /examples/models
parenta0127d83002c2462bc4e83715c1dcb0bf99796ca (diff)
downloadraylib-d6c1159fce69c556fefebb945fd857b3c761bfab.tar.gz
raylib-d6c1159fce69c556fefebb945fd857b3c761bfab.zip
Corrected typo
Diffstat (limited to 'examples/models')
-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 9f576348..d98d7eac 100644
--- a/examples/models/models_material_pbr.c
+++ b/examples/models/models_material_pbr.c
@@ -113,7 +113,7 @@ static Material LoadMaterialPBR(Color albedo, float metalness, float roughness)
mat.shader.locs[LOC_MAP_METALNESS] = GetShaderLocation(mat.shader, "metalness.sampler");
mat.shader.locs[LOC_MAP_NORMAL] = GetShaderLocation(mat.shader, "normals.sampler");
mat.shader.locs[LOC_MAP_ROUGHNESS] = GetShaderLocation(mat.shader, "roughness.sampler");
- mat.shader.locs[LOC_MAP_OCCUSION] = GetShaderLocation(mat.shader, "occlusion.sampler");
+ mat.shader.locs[LOC_MAP_OCCLUSION] = GetShaderLocation(mat.shader, "occlusion.sampler");
//mat.shader.locs[LOC_MAP_EMISSION] = GetShaderLocation(mat.shader, "emission.sampler");
//mat.shader.locs[LOC_MAP_HEIGHT] = GetShaderLocation(mat.shader, "height.sampler");
mat.shader.locs[LOC_MAP_IRRADIANCE] = GetShaderLocation(mat.shader, "irradianceMap");