From 84cb163ba99cd0d694d12f68eeec7960b2c7df08 Mon Sep 17 00:00:00 2001 From: Trygve Wastvedt Date: Sat, 9 Jun 2018 22:02:23 -0500 Subject: [PATCH] Update UniformsLibs, fix typos. --- types/three/three-core.d.ts | 39 +++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 3ad1568409..3c787698c8 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -5865,13 +5865,18 @@ export let UniformsLib: { diffuse: IUniform; opacity: IUniform; map: IUniform; - offsetRepeat: IUniform; - specularMap: IUniform; + uvTransform: IUniform; alphaMap: IUniform; + }; + specularmap: { + specularMap: IUniform; + }; + envmap: { envMap: IUniform; flipEnvMap: IUniform; reflectivity: IUniform; - refractionRation: IUniform; + refractionRatio: IUniform; + maxMipLevel: IUniform; }; aomap: { aoMap: IUniform; @@ -5881,7 +5886,9 @@ export let UniformsLib: { lightMap: IUniform; lightMapIntensity: IUniform; }; - emissivemap: { emissiveMap: IUniform }; + emissivemap: { + emissiveMap: IUniform + }; bumpmap: { bumpMap: IUniform; bumpScale: IUniform; @@ -5895,8 +5902,15 @@ export let UniformsLib: { displacementScale: IUniform; displacementBias: IUniform; }; - roughnessmap: { roughnessMap: IUniform }; - metalnessmap: { metalnessMap: IUniform }; + roughnessmap: { + roughnessMap: IUniform + }; + metalnessmap: { + metalnessMap: IUniform + }; + gradientmap: { + gradientMap: IUniform + }; fog: { fogDensity: IUniform; fogNear: IUniform; @@ -5951,7 +5965,7 @@ export let UniformsLib: { }; pointShadowMap: IUniform; pointShadowMatrix: IUniform; - hemisphereLigtts: { + hemisphereLights: { value: any[]; properties: { direction: {}; @@ -5959,6 +5973,15 @@ export let UniformsLib: { groundColor: {}; }; }; + rectAreaLights: { + value: any[]; + properties: { + color: {}; + position: {}; + width: {}; + height: {}; + } + } }; points: { diffuse: IUniform; @@ -5966,7 +5989,7 @@ export let UniformsLib: { size: IUniform; scale: IUniform; map: IUniform; - offsetRepeat: IUniform; + uvTransform: IUniform; }; };