|
@@ -27,7 +27,7 @@ function WebGLPrograms( renderer, capabilities ) {
|
|
|
var parameterNames = [
|
|
|
"precision", "supportsVertexTextures", "map", "mapEncoding", "envMap", "envMapMode", "envMapEncoding",
|
|
|
"lightMap", "aoMap", "emissiveMap", "emissiveMapEncoding", "bumpMap", "normalMap", "displacementMap", "specularMap",
|
|
|
- "roughnessMap", "metalnessMap", "gradientMap", "glossinessMap",
|
|
|
+ "roughnessMap", "metalnessMap", "gradientMap", "glossinessMap", "specular2Map",
|
|
|
"alphaMap", "combine", "vertexColors", "fog", "useFog", "fogExp",
|
|
|
"flatShading", "sizeAttenuation", "logarithmicDepthBuffer", "skinning",
|
|
|
"maxBones", "useVertexTexture", "morphTargets", "morphNormals",
|
|
@@ -151,6 +151,7 @@ function WebGLPrograms( renderer, capabilities ) {
|
|
|
roughnessMap: !! material.roughnessMap,
|
|
|
metalnessMap: !! material.metalnessMap,
|
|
|
glossinessMap: !! material.glossinessMap,
|
|
|
+ specular2Map: !! material.specular2Map,
|
|
|
specularMap: !! material.specularMap,
|
|
|
alphaMap: !! material.alphaMap,
|
|
|
|