Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Lighting and LoS #7

Open
LPGhatguy opened this issue Apr 27, 2019 · 0 comments
Open

Lighting and LoS #7

LPGhatguy opened this issue Apr 27, 2019 · 0 comments

Comments

@LPGhatguy
Copy link
Owner

There's a rough prototype of this committed right now.

A simple approach is to keep the initial color of every part in a map when we instantiate a map tile. To darken the tile, we can convert the color to HSV or HSL, tweak the value or lightness multiplicatively, and then apply the color to the part. We can fade actors and objects standing in darkness or out of line-of-sight.

I'm not sure what kind of lighting settings we should use in Roblox itself. Ideally, pitch black parts should be very dark, but I don't want to lose bright stuff in the process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant