A number of rendering bugs that got piled up that are now fixed!
Fixed a case where shaders kept getting recompiled due to encoding differences by the water reflection's and main renderer output.
Reverted to Three.js r114 due to a water rendering bug (render target isn't cleared correctly).
Fixed the issue where marbles on the skins page had a reflection when they shouldn't have one.
Fixed the issue where shadows weren't updated at the end of a finished race.
The gate had the same shadow issue after the current fix, and since it's prooobably clearer if it spawned in at the start of the enter period (instead of right when the race finishes), I decided to change that behaviour slightly. Lemme know if that's a no-go though!
Note is that the Three.js water bug is fixed in development, but not in the latest release. It's probably better to wait till April 29th when r116 is supposed to be available.
A number of rendering bugs that got piled up that are now fixed!
skins
page had a reflection when they shouldn't have one.The gate had the same shadow issue after the current fix, and since it's prooobably clearer if it spawned in at the start of the enter period (instead of right when the race finishes), I decided to change that behaviour slightly. Lemme know if that's a no-go though!
Note is that the Three.js water bug is fixed in development, but not in the latest release. It's probably better to wait till April 29th when r116 is supposed to be available.
Referencing issues Closes #198 Closes #269 Closes #276