Ver Fonte

Merge pull request #6947 from yrns/hemi-intensity

Serialize intensity
Mr.doob há 10 anos atrás
pai
commit
a4076b56e5
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/lights/HemisphereLight.js

+ 1 - 0
src/lights/HemisphereLight.js

@@ -37,6 +37,7 @@ THREE.HemisphereLight.prototype.toJSON = function ( meta ) {
 
 	data.object.color = this.color.getHex();
 	data.object.groundColor = this.groundColor.getHex();
+	data.object.intensity = this.intensity;
 
 	return data;