-
Notifications
You must be signed in to change notification settings - Fork 0
Lego.cfg: Problem properties
There's plenty of properties that may cause unexpected behavior and crash even when you thought you entered in a valid value. This page is dedicated to documenting some of these limitations as they are found.
TODO: Conform the property name and constants from assembly, not from memory.
When this color property is read, 3 variations of the color are created:
- Base (same as property)
- Bright
- Dark
The last two are created by adding or subtracting a multiplier:
- Channel + Channel * 0.041??
- Channel - Channel * 0.041??
It's impossible for the Dark variant to go below zero, but the Bright variant has no safety checks in this regard. A channel of 255 will cause the final color channel to be above 255, which could have unexpected effects depending on how the engine handles this information.
Because of this. The upper bound for this RGB color is lower than 255:255:255.