-
Notifications
You must be signed in to change notification settings - Fork 359
Closed
Description
Related to #604
Add a plugin that fills in a BatchedMesh with the loaded tiles geometry, uses a custom material with support for reading from a texture array, and uploading textures to an array.
Approach
- Create a preallocated BatchedMesh with enough space and large enough slots for the number of tiles to be rendered.
- Preallocate a texture array with enough space for each texture needed.
- Auto expand allocations if needed.
- Custom materials for rendering with albedo from texture array.
- We can lose original references to loaded geometry.
Changes Needed
- Ray casting must change
- Approach for storing internally references to geometry must change
- Lots of internal callbacks and functions that rely on "scene" would have to change
Limitations
- Will not work with Fading tiles.
- Will only work with tile albedo.
Metadata
Metadata
Assignees
Labels
No labels