Рада поделиться, что мои двухнедельные старания не были напрасны — мне удалось добиться плавного FPS даже при 3 миллионах инстансов травы, благодаря GPU Indirect Instancing и Compute Shader в Unity URP Shader Graph! 🌿

Пока что есть некоторые нюансы с LOD и тенями вдалеке (появляется теневая полоска вдоль оси), но пока отложу это на потом, сейчас хочу сосредоточиться на персонажах

#Unity #3D #GameDev #IndieDev #IndirectInstancing #GPUInstancing #ShaderGraph

I’m happy to say that my two weeks of hard work paid off — I got a smooth frame rate even with 3 million grass instances, all thanks to GPU Indirect Instancing and Compute Shader in Unity URP Shader Graph! 🌿
There are still some quirks with LOD and distant shadows — a shadow line pops up along the axis sometimes — but I’m putting these aside for now, since I want to focus on characters

#Unity #3D #GameDev #IndieDev #IndirectInstancing #GPUInstancing #ShaderGraph