We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a89ef commit 7b40c8aCopy full SHA for 7b40c8a
1 file changed
src/textures/NoiseTexture.ts
@@ -1,6 +1,5 @@
1
import {
2
DataTexture,
3
- LuminanceFormat,
4
RedFormat,
5
RGFormat,
6
RGBAFormat,
@@ -22,7 +21,6 @@ import {
22
21
function getNoise(size: number, format: PixelFormat, type: TextureDataType): TypedArray {
23
24
const channels = new Map<PixelFormat, number>([
25
- [LuminanceFormat, 1],
26
[RedFormat, 1],
27
[RGFormat, 2],
28
[RGBAFormat, 4]
0 commit comments