How to use the LessDepth function from three
Find comprehensive JavaScript three.LessDepth code examples handpicked from public code repositorys.
1054 1055 1056 1057 1058 1059 1060 1061 1062 1063
} else { materialParams.side = THREE.DoubleSide; } materialParams.depthTest = enableDepthTest; materialParams.depthFunc = functions.depthFunc !== undefined ? WEBGL_DEPTH_FUNCS[functions.depthFunc] : THREE.LessDepth; materialParams.depthWrite = functions.depthMask !== undefined ? functions.depthMask[0] : true; materialParams.blending = enableBlend ? THREE.CustomBlending : THREE.NoBlending; materialParams.transparent = enableBlend; var blendEquationSeparate = functions.blendEquationSeparate;
0
1
0
+ 9 other calls in file
three.Vector3 is the most popular function in three (22341 examples)