updateCommonMaterialProperties method
void
updateCommonMaterialProperties(
- Material material,
- dynamic parameters
)
Implementation
void updateCommonMaterialProperties(Material material, parameters) {
var materialProperties = properties.get(material);
materialProperties["outputEncoding"] = parameters.outputEncoding;
materialProperties["instancing"] = parameters.instancing;
materialProperties["skinning"] = parameters.skinning;
materialProperties["morphTargets"] = parameters.morphTargets;
materialProperties["morphNormals"] = parameters.morphNormals;
materialProperties["morphColors"] = parameters.morphColors;
materialProperties["morphTargetsCount"] = parameters.morphTargetsCount;
materialProperties["numClippingPlanes"] = parameters.numClippingPlanes;
materialProperties["numIntersection"] = parameters.numClipIntersection;
materialProperties["vertexAlphas"] = parameters.vertexAlphas;
materialProperties["vertexTangents"] = parameters.vertexTangents;
materialProperties["toneMapping"] = parameters.toneMapping;
}