Skip to content

Commit

Permalink
Merge pull request #8429 from tparisi/dev
Browse files Browse the repository at this point in the history
Dev - trying shininess hack for #8381
  • Loading branch information
mrdoob committed Mar 21, 2016
2 parents 1993bc9 + 6663990 commit 3c2d2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/loaders/gltf/glTFLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {

if (!(shininess === undefined))
{
params.shininess = shininess;
params.shininess = Math.max( shininess, 1e-4 );
}

delete params.ambient;
Expand Down

0 comments on commit 3c2d2f6

Please sign in to comment.