提交 93e0c6b1 编写于 作者: M Mr.doob

Updated builds.

上级 ea13c99d
......@@ -14645,6 +14645,17 @@
};
// enable code injection for non-built-in material
Object.defineProperty( boxMesh.material, 'envMap', {
get: function () {
return this.uniforms.tCube.value;
}
} );
objects.update( boxMesh );
}
......@@ -14675,6 +14686,17 @@
planeMesh.geometry.removeAttribute( 'normal' );
// enable code injection for non-built-in material
Object.defineProperty( planeMesh.material, 'map', {
get: function () {
return this.uniforms.t2D.value;
}
} );
objects.update( planeMesh );
}
此差异已折叠。
......@@ -14639,6 +14639,17 @@ function WebGLBackground( renderer, state, objects, premultipliedAlpha ) {
};
// enable code injection for non-built-in material
Object.defineProperty( boxMesh.material, 'envMap', {
get: function () {
return this.uniforms.tCube.value;
}
} );
objects.update( boxMesh );
}
......@@ -14669,6 +14680,17 @@ function WebGLBackground( renderer, state, objects, premultipliedAlpha ) {
planeMesh.geometry.removeAttribute( 'normal' );
// enable code injection for non-built-in material
Object.defineProperty( planeMesh.material, 'map', {
get: function () {
return this.uniforms.t2D.value;
}
} );
objects.update( planeMesh );
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册