Skip to content
Merged
Changes from 1 commit
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
9 changes: 9 additions & 0 deletions src/materials/ShaderMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ class ShaderMaterial extends Material {

this.wireframe = source.wireframe;
this.wireframeLinewidth = source.wireframeLinewidth;
this.linewidth = source.linewidth;

this.fog = source.fog;
this.lights = source.lights;
Expand All @@ -279,6 +280,14 @@ class ShaderMaterial extends Material {

this.glslVersion = source.glslVersion;

this.forceSinglePass = source.forceSinglePass;

this.defaultAttributeValues = Object.assign( {}, source.defaultAttributeValues );

this.index0AttributeName = source.index0AttributeName;

this.uniformsNeedUpdate = source.uniformsNeedUpdate;

return this;

}
Expand Down