- Home /
Question by
DoubleThreeZhang · Jul 15, 2020 at 01:32 AM ·
renderer
Problem with BatchRendererGroup culling and GPUInstancing.
I am using BatchRendererGroup to draw grass in game. Everything is ok, until I implement the culling process by OnPerformCulling. The properties of grass instances passed by SetInstancingData are no longer aligned to the right instance because some instances in the batch has been marked invisible. I guess BatchRendererGroup missed to deal with this situation. So, what sould I do to fix this bug?
Comment
Your answer
Follow this Question
Related Questions
Changing two different objects renderer colour 1 Answer
line renderer question 1 Answer
Changing specific materials onTriggerEnter 3 Answers
Set image or texture on only particular part of a sphere 2 Answers
Cloth Renderer's shading 0 Answers