Skip to content

Commit 67b277c

Browse files
committed
Use FloatType for depth
1 parent 3faeb4e commit 67b277c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/EffectComposer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import {
22
DepthStencilFormat,
33
DepthTexture,
4+
FloatType,
45
LinearFilter,
56
SRGBColorSpace,
67
UnsignedByteType,
7-
UnsignedIntType,
88
UnsignedInt248Type,
99
Vector2,
1010
WebGLRenderTarget
@@ -312,7 +312,7 @@ export class EffectComposer {
312312

313313
} else {
314314

315-
depthTexture.type = UnsignedIntType;
315+
depthTexture.type = FloatType;
316316

317317
}
318318

0 commit comments

Comments
 (0)