You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, calling a PMREM Generation is calling a cubecamera that is always default positionned at 0, 0, 0
For a few versions now, I'm hacking my way to get to generate a PMREM but from an arbitrary cubecamera position by passing a position to pmrem.fromScene, this would be useful
Solution
Passing a position as arg to fromScene
Alternatives
Or maybe passing a callback to be called before each render that passes the camera ?
in that case we'd be able to do anything before render of each pmrem face