I just switched to the latest beta and suddenly I wasn’t able to assign lights to my materials any more. The property just vanished from the MaterialBase. I’m pretty sure that’s on purpose because of the texturing renders. However, how do I solve something like this (which worked in 4.x already, it’s just some days older):
var map : BitmapMaterial = mesh.material as BitmapMaterial;
map.shadowMethod = new SoftShadowMapMethod(_light);
map.lights = [_light];
...
Just any hint to some related docs would help as well. I just kinda missed a post or article about this change.
Thanks in advance!