photonle / Photon-v2

Photon 2 for Garry's Mod
Other
16 stars 4 forks source link

Elements don't always deactivate and sometimes conflict #20

Open ischmal opened 6 months ago

ischmal commented 6 months ago

On the Loveland PD demo Caprice, the brake/taillights aren't being correctly drawn during the bloom pass -- but only after the emergency lights are activated.

This issue is not present on the other Caprice demonstrators.

ischmal commented 6 months ago

Two independent issues:

1) A light receiving multiple inputs can sometimes be deactivated while a lower-priority state input is never removed. This leaves it the render queue until the controller is out of the player's PVS.

2) Certain lights rendered in the "off" state can end up visually blocking lights or meshes behind it