I have a scene with a directional light on which I want to use shadowUpdateMode = pc.SHADOWUPDATE_THISFRAME.
But I cant find a way to trigger an update programatically. In the editor a button for updating shadows appear, see image.
Yes I saw that, I’m really confused as to why it only works when I’m using updateShadow(). Only thing I can imagine is if its some kind of race condition issue?