Fix non power 2 texture size

This commit is contained in:
schmelczerandras 2020-10-04 11:25:32 +02:00
parent c47afed76f
commit 41ea5d7db9

View file

@ -71,7 +71,7 @@ export class TunnelScene implements Scene {
canvas: HTMLCanvasElement,
overlay: HTMLDivElement
): Promise<void> {
const noiseTexture = await renderNoise([1000, 1], 60, 1 / 8);
const noiseTexture = await renderNoise([1024, 1], 60, 1 / 8);
this.canvas = canvas;
this.overlay = overlay;