Ajout du shader d'ouverture sur la page d'accueil

This commit is contained in:
2026-08-02 15:31:56 +02:00
parent 36d9ac4230
commit dc2f0013b0
7 changed files with 39 additions and 41 deletions
+10 -4
View File
@@ -2,12 +2,18 @@ import { loadEvents } from './events.js'
import { loadStatus } from './status.js'
import { initCuteTexture } from './cuteTexture.js'
// =================================== background texture
initCuteTexture()
// ======================================== events & statut d'ouverture
loadEvents();
loadStatus();
loadStatus()
.then((status) => {
console.log("Status actuel du LOL", status);
let cuteTexture = initCuteTexture({
shaderSource: status.shaderSource
});
cuteTexture.target.style.visibility = "visible"
});
// ======================================== floating event window