dev #84

Merged
ksenia_mikhailova merged 141 commits from dev into main 2024-10-03 15:30:24 +03:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 2af002ee2b - Show all commits

View File

@ -57,9 +57,9 @@ function generateNoiseTexture(width: number, height: number) {
const color = new Color(0xffffff);
for (let i = 0; i < size; i++) {
const r = Math.floor(Math.random() * 255);
const r = Math.floor(Math.random() * 255) * 0.05;
const g = 0;
const b = Math.floor(Math.random() * 255);
const b = Math.floor(Math.random() * 255) * 0.05;
const stride = i * 4;
data[stride] = r;