How to use the RGBADepthPacking function from three
Find comprehensive JavaScript three.RGBADepthPacking code examples handpicked from public code repositorys.
748 749 750 751 752 753 754 755 756
this.beautyRenderTarget.depthBuffer = true; } this.depthMaterial = new THREE.MeshDepthMaterial(); this.depthMaterial.depthPacking = THREE.RGBADepthPacking; this.depthMaterial.blending = THREE.NoBlending; this.normalMaterial = new THREE.MeshNormalMaterial(); this.normalMaterial.blending = THREE.NoBlending;
3
7
1
+ 35 other calls in file
49 50 51 52 53 54 55 56 57 58
depthTexture.type = three_1.UnsignedShortType; this.beautyRenderTarget.depthTexture = depthTexture; this.beautyRenderTarget.depthBuffer = true; } this.depthMaterial = new three_1.MeshDepthMaterial(); this.depthMaterial.depthPacking = three_1.RGBADepthPacking; this.depthMaterial.blending = three_1.NoBlending; this.normalMaterial = new three_1.MeshNormalMaterial(); this.normalMaterial.blending = three_1.NoBlending; if (SAOShader_1.SAOShader === undefined) {
1
3
0
78 79 80 81 82 83 84 85 86 87 88 89 90
class MeshRGBADepthMaterial extends three.MeshDepthMaterial { constructor(parameters) { parameters = parameters || {}; parameters.depthPacking = three.RGBADepthPacking; super(parameters); }
0
0
0
+ 4 other calls in file
three.Vector3 is the most popular function in three (22341 examples)