NSprites: Unity DOTS Sprite Rendering Package
This framework provides sprite rendering system compatible with Entities package (unity ECS).
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.
How it works
SpriteRenderingSystem sync registered entity components with ComputeBuffers to send data to GPU and then renders entities with Graphics.DrawMeshInstancedProcedural. System also controls how ComputeBuffers reallocates if capacity exceeds. Sprites are simple entities with no limits of what components you use.
https://github.com/Antoshidza/NSprites
Sample project: https://github.com/Antoshidza/Age-of-Sprites
#dots #sprite #rendering
Post #2214
224
- 👍 10