Frstrm / TokenLightCondition

Determine the lighting conditions of a token based on placed lights and token lights
MIT License
1 stars 4 forks source link

Added 2 new optional Settings: Negative Lights + Delay Calculations #55

Closed elizeuangelo closed 1 year ago

elizeuangelo commented 1 year ago

I added 2 new optional settings (default disabled) to improve the module:

Delay Calculations Delays the light condition calculation by the configured miliseconds.

Negative Lights Support Negative luminance will provide dim or dark conditions instead of removing them.

The delay calculations isn't a boolean but a number range, but if set to 0 (default) its disabled.

elizeuangelo commented 1 year ago

I also unified the workflow for AmbientLights and Tokens, for simplification and to correctly address light priority (negative lights have priority over positive lights in Foundry rendering).

elizeuangelo commented 1 year ago

Fixes issues #30 #32 #52 Possibly fixes issues #37 and #53