jelster / space-truckers

A game of getting stuff from Point A to Point B... IN SPAAAACCE!
https://space-truckers.com
BSD 3-Clause "New" or "Revised" License
54 stars 21 forks source link

Driving Phase - post-processes should not be applied to GUI #100

Closed jelster closed 2 years ago

jelster commented 2 years ago

Describe the bug In the driving phase, post-process effects are being applied to the top-layer GUI. This isn't a desired effect.

To Reproduce Steps to reproduce the behavior:

  1. Go to the driving phase - use the query string ?testDrive&route=sample-route.json (add 2-6 to use other routes, e.g., sample-route-6
  2. See issue (Screenshot attached)

Expected behavior The gui should render without post-processes (ex: film grain).

Screenshots

image

Additional context This issue was resolved for the route planning phase with commit 685e3fbe7714d508514ce0925ada69d0407d5eeb, but remains for driving screen. Resolution in that case was to add a GUI camera with layer mask. Since a GUI camera already exists for this scene, only some minor tweaking and review of the camera code should be necessary

jelster commented 2 years ago

Resolved for driving/scoring phase with this commit