Hello,
I am using a simple material effect that sets its emissive color according to the properties of the entity:
vec_set(mtl.emissive_blue, my.blue);
This also requires to set ENABLE_RENDER to on.
The material works just fine as long as it is used by only one entity.
However, if it is used by more than one entity, then all those entities share the same emissive color, although their red/green/blue properties are different.
Shouldnt this work properly with ENABLE_RENDER?
ENABLE_RENDER
The material event is executed immediately before rendering the entity the material was assigned to.
Thanks