Hello,
we did observe that when we are changing the material of an ObjectMeshStatic, it will lose its auxiliary state information during runtime.
We are using the aux buffer for outlining objects, but changing the material will disable the outlining.
We did a workarround for this and did restoring the auxiliary state when the material changes.
We did a profile run and did observe: restoring the auxiliary state takes always a lot of time until the function will return. So every time a material changes on an object the application halts for a noticeable time.
Do you have a simple solution for that, that does not cost any extra ressources and time on CPU/GPU side? We are on 2.8 Unigine version using opengl.
Thanks a lot.