How to use the DepthStencilFormat function from three
Find comprehensive JavaScript three.DepthStencilFormat code examples handpicked from public code repositorys.
26 27 28 29 30 31 32 33 34 35
// this.generateSampleKernel(); this.generateRandomKernelRotations(); // beauty render target const depthTexture = new three_1.DepthTexture(); depthTexture.format = three_1.DepthStencilFormat; depthTexture.type = three_1.UnsignedInt248Type; this.beautyRenderTarget = new three_1.WebGLRenderTarget(this.width, this.height); // normal render target with depth buffer this.normalRenderTarget = new three_1.WebGLRenderTarget(this.width, this.height, {
1
3
0
+ 5 other calls in file
three.Vector3 is the most popular function in three (22341 examples)