- Home /
Is there any way I can statically batch procedurally generated objects?
I have an endless runner type game. My path which is made up of cubes (blender cubes, they are not all the same model) does not dynamically batch. I used frame debugger and it says they are using different shaders. They all use the same material, however the material receives real-time shadows. The shader I am using also has 4 passes so it won't batch automatically. I have one directional light which adds alot to the look of the cubes. Is there a way to make the cubes static if I just spawn them from script as the player moves?
Your answer
Follow this Question
Related Questions
,Drawing 100 000+ cubes 1 Answer
Drawcalls or Batched, which is more important to performace? 1 Answer
A lot of static objects affects the performance 0 Answers
What's killing my rendering performance? (pic included) 1 Answer
Do statically batched meshes need to have the same pivot point(not position)? 0 Answers