Skip to content

Commit

Permalink
fix(SpotLight): remove use of deprecated constants
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Feb 29, 2024
1 parent 8dac932 commit ee2be0a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/SpotLight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
WebGLRenderTarget,
ShaderMaterial,
RGBAFormat,
LinearEncoding,
RepeatWrapping,
Object3D,
} from 'three'
Expand Down Expand Up @@ -160,7 +159,6 @@ function SpotlightShadowWithShader({
() =>
new WebGLRenderTarget(width, height, {
format: RGBAFormat,
encoding: LinearEncoding,
stencilBuffer: false,
// depthTexture: null!
}),
Expand Down

0 comments on commit ee2be0a

Please sign in to comment.