I have been using this (now meta-) code once before, but cannot find in my projects :-/

var isrLamp= self.app.root.findByName("IsrLamp02"); isrLamp.light.SHADOWUPDATE_THISFRAME();

  • so how to write it correctly? Tried a broad search - but fruitless

By constructor does not work either:
isrLamp.light = new pc.SHADOWUPDATE_THISFRAME();

Always consult with API: pc.LightComponent > shadowUpdateMode.

entity.light.shadowUpdateMode = pc.SHADOWUPDATE_THISFRAME;

Seems to works - thx {still got an issue with a model, that doesn’t receive the shadow, but consider SOLVED}