提交 42fbab34 编写于 作者: T tschw

Serialize ShaderMaterial (custom) attributes.

上级 7b2c3e07
......@@ -117,6 +117,7 @@ THREE.ShaderMaterial.prototype.toJSON = function () {
var data = THREE.Material.prototype.toJSON.call( this );
data.uniforms = this.uniforms;
data.attributes = this.attributes;
data.vertexShader = this.vertexShader;
data.fragmentShader = this.fragmentShader;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册