Skip to content

Commit 03e2f4b

Browse files
committed
Updated builds.
1 parent 3585caf commit 03e2f4b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

build/three.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185

186186
} );
187187

188-
var REVISION = '95';
188+
var REVISION = '96dev';
189189
var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
190190
var CullFaceNone = 0;
191191
var CullFaceBack = 1;
@@ -6030,7 +6030,7 @@
60306030

60316031
var envmap_vertex = "#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif\n";
60326032

6033-
var fog_vertex = "\n#ifdef USE_FOG\nfogDepth = -mvPosition.z;\n#endif";
6033+
var fog_vertex = "\n#ifdef USE_FOG\nfogDepth = length(mvPosition);\n#endif";
60346034

60356035
var fog_pars_vertex = "#ifdef USE_FOG\n varying float fogDepth;\n#endif\n";
60366036

0 commit comments

Comments
 (0)