Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow Irrlicht caching of animated meshes #6723
Possible solution for #6676 !
Instead of setting the color of each vertex (which is shared between instances of the same animated mesh), set emissive color instead, which is unique per instance of the mesh.
That way we can use Irrlicht's mesh cache.
This is for testing. Please have a look at this and test it out.
I played around with this. Used torches and other light sources, day and night. This seems to work fine in all scenarios.
I think we can remove the WIP label.
How about this @Fixer-007 ?
Update: Yep, also fixes the home decor issue.
It was simply a mistake to always use the cache.