Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Color Tones for Dynamic Lighting

Hello. I want to suggest color tones for Dynamic Lighting. With this, for example, we could configure a yellowish tone to put on the torches or on a fire pit. Or even a greenish tone for the fire that illuminates the lair of a witch. Stuff like that. In my opinion, this would make the things more dynamic. And more, with this, I think, there could also be a way to put that light to turn all in black and white for the races from D&D with Darkvision, that can't discern color in darkness, only shades of gray. Thanks!
1521657453

Edited 1521657582
Ada L.
Marketplace Creator
Sheet Author
API Scripter
This would be yet another thing that could get done if Roll20 had that Canvas/WebGL developer they've been looking for. I mean, it wouldn't be too hard for them to do by doing some mathemagic with some lights in a GLSL shader. Just associate each light source with a color instead of using pure white light, then multiply the shaded pixel colors by the normalized light source color with scaling for dim light. In the case of areas where multiple light sources overlap, the light's colors are additive to each other. The darkvision is yet another thing that would be somewhat easy to do in a GLSL shader. Just have a boolean uniform (really a uint with a value of either 0 or 1) to turn it on or off. If it's on, then for pixels not in bright light, compute the grayscale color G for that pixel. Then let alpha = the dim lighting coefficient as a value in the range [0, 1], where 1 indicates bright light and 0 indicates darkness. Let C be the shaded color for that pixel. Finally, let the final color F = (1.0 - alpha) * G + C. 
You may want to add your vote to this older suggestion that has more votes (albeit only 15 as of this writing): <a href="https://app.roll20.net/forum/post/2819815/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/2819815/slug%7D</a>
1550175594
Roll20 Dev Team
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .