Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
329 changes: 181 additions & 148 deletions build/three.cjs

Large diffs are not rendered by default.

24 changes: 21 additions & 3 deletions build/three.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -28362,7 +28362,7 @@ class BatchedMesh extends Mesh {
* Sets the given color to the defined instance.
*
* @param {number} instanceId - The ID of an instance to set the color of.
* @param {Color} color - The color to set the instance to.
* @param {Color|Vector4} color - The color to set the instance to. Use a `Vector4` to also define alpha.
* @return {BatchedMesh} A reference to this batched mesh.
*/
setColorAt( instanceId, color ) {
Expand All @@ -28386,8 +28386,8 @@ class BatchedMesh extends Mesh {
* Returns the color of the defined instance.
*
* @param {number} instanceId - The ID of an instance to get the color of.
* @param {Color} color - The target object that is used to store the method's result.
* @return {Color} The instance's color.
* @param {Color|Vector4} color - The target object that is used to store the method's result.
* @return {Color|Vector4} The instance's color. Use a `Vector4` to also retrieve alpha.
*/
getColorAt( instanceId, color ) {

Expand Down Expand Up @@ -39730,6 +39730,14 @@ class MeshPhongMaterial extends Material {
*/
this.reflectivity = 1;

/**
* Scales the effect of the environment map by multiplying its color.
*
* @type {number}
* @default 1
*/
this.envMapIntensity = 1.0;

/**
* The index of refraction (IOR) of air (approximately 1) divided by the
* index of refraction of the material. It is used with environment mapping
Expand Down Expand Up @@ -39838,6 +39846,7 @@ class MeshPhongMaterial extends Material {
this.envMapRotation.copy( source.envMapRotation );
this.combine = source.combine;
this.reflectivity = source.reflectivity;
this.envMapIntensity = source.envMapIntensity;
this.refractionRatio = source.refractionRatio;

this.wireframe = source.wireframe;
Expand Down Expand Up @@ -40603,6 +40612,14 @@ class MeshLambertMaterial extends Material {
*/
this.reflectivity = 1;

/**
* Scales the effect of the environment map by multiplying its color.
*
* @type {number}
* @default 1
*/
this.envMapIntensity = 1.0;

/**
* The index of refraction (IOR) of air (approximately 1) divided by the
* index of refraction of the material. It is used with environment mapping
Expand Down Expand Up @@ -40709,6 +40726,7 @@ class MeshLambertMaterial extends Material {
this.envMapRotation.copy( source.envMapRotation );
this.combine = source.combine;
this.reflectivity = source.reflectivity;
this.envMapIntensity = source.envMapIntensity;
this.refractionRatio = source.refractionRatio;

this.wireframe = source.wireframe;
Expand Down
2 changes: 1 addition & 1 deletion build/three.core.min.js

Large diffs are not rendered by default.

307 changes: 161 additions & 146 deletions build/three.module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/three.module.min.js

Large diffs are not rendered by default.

Loading
Loading