Skip to content

Commit 4086e5b

Browse files
authored
Merge pull request pmndrs#702 from haxiomic/patch-1
Remove use of LuminanceFormat for r176 support
2 parents 677fc86 + 6ed97b6 commit 4086e5b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/textures/NoiseTexture.js

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,
@@ -20,7 +19,6 @@ import {
2019
function getNoise(size, format, type) {
2120

2221
const channels = new Map([
23-
[LuminanceFormat, 1],
2422
[RedFormat, 1],
2523
[RGFormat, 2],
2624
[RGBAFormat, 4]

0 commit comments

Comments
 (0)