-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Labels
Milestone
Description
Description
We have a scene of an inside of a house, currently when in the kitchen everything is running smooth, but when the client moves towards the bathroom they encounter a massive lag.
This is due to the reflector in the bathroom acting as a mirror. The reflector has a condition where if the reflector is not facing the camera then the render wont occur, so when we first see the mirror theres a delay because this is the first time the render is occurring.
| if ( view.dot( normal ) > 0 ) return; |
Solution
Include a needsUpdate flag in the Reflector class so that we can do a pre-render so that the first initial time seeing the Reflector there is no jump
Alternatives
Not sure, whatever other options I'm happy to hear
Additional context
No response