Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Custom grass system. No instancing, no Compute shaders. Just game objects splitted into chunks with LODs. Displacement in vertex shader. Their geometry is pre-sorted towards the camera to minimize overdraw. Unity automatically handles culling as they are just game objects. #madewithunity #realtime

19,748 görüntüleme • 7 ay önce •via X (Twitter)

11 Yorum

Shahzod Boyhonov profil fotoğrafı
Shahzod Boyhonov7 ay önce

Here running on Quest 3 for my meditation game. Wishlist here:

Puzzle Paws profil fotoğrafı
Puzzle Paws7 ay önce

Smart move skipping compute shaders for mobile. Pre-sorting geometry for overdraw is that detail most miss. What's the draw call count?

Shahzod Boyhonov profil fotoğrafı
Shahzod Boyhonov7 ay önce

around 200. ~70 of them are for grass.

Adam Wagner profil fotoğrafı
Adam Wagner7 ay önce

Low tech but still high effect

Torvid profil fotoğrafı
Torvid7 ay önce

Thank god. I don't think people are aware of just how disgustingly slow Geometry Shaders are >.>

lowiqcatsoupial profil fotoğrafı
lowiqcatsoupial7 ay önce

very cool instancing should still help in this case since they're still predefined meshes?

BoogerCheeseOnRye DeepFried profil fotoğrafı
BoogerCheeseOnRye DeepFried7 ay önce

Noice

Patrick Haraguti profil fotoğrafı
Patrick Haraguti7 ay önce

Really cool, curious about how you handle the mesh grid. my guess is you have a grid 5x5 for closer grass and external Lod, when you reach the 3x3 grid bound you move the mesh to player position and use terrain height to offset the grass blade in Y ?! .

survivorr profil fotoğrafı
survivorr7 ay önce

how do you pre sort towards the camera? does the full game object rotate in a way thats not visible to the player? are meshes constructed during runtime?

Shahzod Boyhonov profil fotoğrafı
Shahzod Boyhonov7 ay önce

No, they are imported from blender. Sorting is done in Blender. They don't rotate. The grass system moves with the player, so the player is always in the center of the system. But the movement is not noticeable to the player.

Abraham profil fotoğrafı
Abraham7 ay önce

Unoptimized slop

Benzer Videolar