Fix non power 2 texture size
This commit is contained in:
parent
c47afed76f
commit
41ea5d7db9
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ export class TunnelScene implements Scene {
|
||||||
canvas: HTMLCanvasElement,
|
canvas: HTMLCanvasElement,
|
||||||
overlay: HTMLDivElement
|
overlay: HTMLDivElement
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const noiseTexture = await renderNoise([1000, 1], 60, 1 / 8);
|
const noiseTexture = await renderNoise([1024, 1], 60, 1 / 8);
|
||||||
|
|
||||||
this.canvas = canvas;
|
this.canvas = canvas;
|
||||||
this.overlay = overlay;
|
this.overlay = overlay;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue