Hello,
I have a question about ent_mtlset() and video_switch().
I created an entity by runtime, assigned material and shader and a second shader to the second subset.
So far, everythings works fine.
The problem occurs, when I change the screen resolution (no matter if I use video_switch or video_set).
After executing, the second shader disappears, and I found no way so far to reactivate it.
It seems to me, as if video_switch resets the material assignment of the second subset.
I created a small basic project to test this and to make sure, that there are no other conflicts, and the same problem appears.
Is there any documentation about this behaviour, and do you have any ideas how to fix it?
I can upload the small project, if you want to have a look on it.
Thanks!