This website works better with JavaScript
Inicio
Explorar
Ayuda
Iniciar sesión
javascript
/
three.js
espejo de
https://github.com/tazdij/three.js.git
Seguir
2
Destacar
0
Fork
0
Archivos
Incidencias
0
Wiki
Explorar el Código
Revert "Distanced based fog"
WestLangley
hace 7 años
padre
1ffaa41a4b
commit
73c2accb93
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Mostrar estadísticas de diff
1
1
src/renderers/shaders/ShaderChunk/fog_vertex.glsl
+ 1
- 1
src/renderers/shaders/ShaderChunk/fog_vertex.glsl
Ver fichero
@@ -1,4 +1,4 @@
#ifdef USE_FOG
-fogDepth =
length(mvPosition)
;
+fogDepth =
-mvPosition.z
;
#endif