|
@@ -59,6 +59,8 @@ THREE.ShaderMaterial = function ( parameters ) {
|
|
this.morphTargets = false; // set to use morph targets
|
|
this.morphTargets = false; // set to use morph targets
|
|
this.morphNormals = false; // set to use morph normals
|
|
this.morphNormals = false; // set to use morph normals
|
|
|
|
|
|
|
|
+ this.derivatives = false; // set to use derivatives
|
|
|
|
+
|
|
// When rendered geometry doesn't include these attributes but the material does,
|
|
// When rendered geometry doesn't include these attributes but the material does,
|
|
// use these default values in WebGL. This avoids errors when buffer data is missing.
|
|
// use these default values in WebGL. This avoids errors when buffer data is missing.
|
|
this.defaultAttributeValues = {
|
|
this.defaultAttributeValues = {
|