spiralhalo / LumiLights

Gameplay focused visual improvements for Canvas
GNU Lesser General Public License v3.0
123 stars 11 forks source link

Issue with held light on amd cards #5

Closed spiralhalo closed 3 years ago

spiralhalo commented 3 years ago

When held light intensity is undefined it's somehow interpreted as full illumination(?)

Reported by Kimotina on discord.

spiralhalo commented 3 years ago

Somehow fixed by adding if (frx_heldLight().w > 0) statement.

Copied this algorithm from Canvas's base shader. Grondag uses amd card so he probably anticipated it.