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;
fork icon0
star icon1
watch icon0

+ 9 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)