资讯

Basically it sync whatever entity component you want with GPU data to perform instanced rendering. As a result all entities with same Material can be rendered with single drawcall.
To use this just add the SpriteFog material to your SpriteRenderer component and add the component SpriteFog to your gameObject. Now just pick the base color and the fog color, you can also add the ...