Skip to content

Commit 951f5ec

Browse files
authored
Merge pull request #14833 from atul-mourya/patch-4
Missing combine and envMapIntensity property
2 parents 708b218 + 56c708b commit 951f5ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/loaders/MaterialLoader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Object.assign( MaterialLoader.prototype, {
7171
if ( json.fog !== undefined ) material.fog = json.fog;
7272
if ( json.flatShading !== undefined ) material.flatShading = json.flatShading;
7373
if ( json.blending !== undefined ) material.blending = json.blending;
74+
if ( json.combine !== undefined ) material.combine = json.combine;
7475
if ( json.side !== undefined ) material.side = json.side;
7576
if ( json.opacity !== undefined ) material.opacity = json.opacity;
7677
if ( json.transparent !== undefined ) material.transparent = json.transparent;
@@ -204,6 +205,7 @@ Object.assign( MaterialLoader.prototype, {
204205
if ( json.specularMap !== undefined ) material.specularMap = getTexture( json.specularMap );
205206

206207
if ( json.envMap !== undefined ) material.envMap = getTexture( json.envMap );
208+
if ( json.envMapIntensity !== undefined ) material.envMapIntensity = json.envMapIntensity;
207209

208210
if ( json.reflectivity !== undefined ) material.reflectivity = json.reflectivity;
209211

0 commit comments

Comments
 (0)