i'm trying build a single canvas with z-index -1, and two scenes like this https://threejs.org/manual/#en/multiple-scenes
but i can't override the css of the Canvas and Scene components.
so i tried using the following to set updateStyles to false because then i think i couldn't override the default styles, but if i do that then the page doesn't load and doesn't give an errors as to why.
useThree((state) => {
// https://docs.pmnd.rs/react-three-fiber/api/hooks#usethree
state.setSize(200, 200, false, 50, 50);
...
})
i'm afraid i'll have to switch to use vanillajs if i can't figure it out