Skip to content

Commit 7b40c8a

Browse files
committed
Remove LuminanceFormat usage
1 parent e9a89ef commit 7b40c8a

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/textures/NoiseTexture.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {
22
DataTexture,
3-
LuminanceFormat,
43
RedFormat,
54
RGFormat,
65
RGBAFormat,
@@ -22,7 +21,6 @@ import {
2221
function getNoise(size: number, format: PixelFormat, type: TextureDataType): TypedArray {
2322

2423
const channels = new Map<PixelFormat, number>([
25-
[LuminanceFormat, 1],
2624
[RedFormat, 1],
2725
[RGFormat, 2],
2826
[RGBAFormat, 4]

0 commit comments

Comments
 (0)