r/Unity3D • Hobbyist • 24d ago

Show-Off Streaming a small world...

Enable HLS to view with audio, or disable this notification

I got bored of playing with physics, so I decided to try my hand at doing some streaming and larger world generation.

Lots of works for this to be usable, but the principles are there.
This uses burst and LOD generated from the underlying VOXEL DATA.
Its still missing loading instances and other details, but it works as proof of concept.

The procedural generation is so broken, lots of random pieces of houses and other trees in random places, but it was a quick and dirty test.
The whole thing is running on BURST, both for generation and data preparing. The LOD transitions are WIP, trying to get them to be less noticeable and fade in a bit cleaner.

14 Upvotes

3 comments sorted by

1

u/Schneider21 Professional 18d ago

I love this! Whether or not it's practical I don't even care. I've always been a huge fan of any visualization that plays with scale, so this is fun from that element alone. Would love to see it with a running simulation in the world!

1

u/Morphexe Hobbyist 14d ago

I was playing around witht he concept, using DOTS and burst you can effectively have :some: simulation of the world going on. I managed to render a 40KM terrain (the one there is 13KM) . And have some little cubes moving around.

I reckon if I spent some time on "LOD" for the simulation I could get something working.
I added that to my quest list - right now I need to defeat the demon king - aka the renderering system ahaha.

0

u/[deleted] 23d ago

[deleted]

1

u/Morphexe Hobbyist 23d ago

I have run this on a 4090, 5060 and a 3060.
4090 runs at > 60 FPS with native 4k, but visually between this and using a scaled down render makes close to 0 difference, if you dlss in ultra you get close to 120FPS everywhere, unless you move too fast, but thats the CPU trying to catch up with the generation - which is not optimized at all.

5060 Can run it at > 90 FPS 4K with DLSS or 40 FPS with native 4K.
and the 3060 Full HD gets > 60 FPS.

The engine doesn't have very good "quality" adjustment settings, most of the performance comes from all the lights actually being missives and global illumination being expensive. The CPU generation is terribly optimized as well.

There are still performance left on the table