๐งต#Needle Engine Website
Hello <@95852307077406720> nope they are one webgl scene/context and we load in / out glb files that contain the content
They are loaded using AssetReference types (Needle Engine). you can read about it here: https://engine.needle.tools/docs/scripting.html#assetreference-and-addressables
When you have a component that references a prefab OR a SceneAsset it will export that prefab/scene as a separate glb (and your Typescript component will receive the path to that glb - when you annotate it with @serializable(AssetReference) you'lll get that AssetReference type that you can use to load it async any time
The rest is just hooking the loading to the scrolling and slight camera movement at specific points as you've guessed
You can open the browser dev view (F12) and look at the networking tab when you reload the page - you'll see that it will preload some scenes and then load the scene when it's about to be used
oh, that's interesting! thank you. Is this a bit like an asset bundle? (forgive me, I am not that technical)
(via ``myAssetReference.preload()ยด`
Yes basically
Just with the added benefit that it's not unity exclusive
so you can use it in other software like blender too ๐
or other web viewers depending on the features they support
awesome, I am going to have to experiment with this. My boss keeps telling me that he would like to have a fancy scrolling page like yours, it looks great
๐ sure - if you have questions feel free to search or ask in the <#1024686103598477383>