Hi. Thank you for your recommend, But the problem is I must make each cube with the json file. each cube may have certain position and size and also color so I think I can’t use instances or thin instances and also solid particle system.
With solid particles you can change color Solid Particle System - Babylon.js Documentation and other properties of each particle on each frame render maybe in onbeforerender and lerp your properties. How you lerp your properties now? In this way you can lerp properties in particle system
i think in your context better solid particles/ i think instances must share same material between all instances … docs say Each instance has the same material as the root mesh. They can vary on the following properties:
position
rotation
rotationQuaternion
setPivotMatrix
scaling
but in docs about thin instance i see this
As for regular instances, you can add custom attributes to thin instances.
To do so, register the attribute and set the value(s) for the thin instance(s):
so i think you can use thin instances with custom attributes or try add custom attribute to simple instance because docs say As for regular instances, you can add custom attributes to thin instances.