FG Spreadshirt Swag
  1. #1

    Colored lights add to create white light


  2. #2
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,094
    Blog Entries
    9
    This is a known issue with the lighting system. There are some good early discussions on it somewhere around here. One, if I remember, from a physics professor who deals with light experiments etc.

    It comes from the simple way that in most digital systems, FGU included, lights are additive in RGB format (i.e two lights of RGB values of 100,100,100 becomes a lit area with a value of 200,200,200), and that once an area gets to have a value of more than 255, the value is clipped to 255, which means lights tend to add to white.

    To prevent this, you need to make sure the values of your individual sources won't combine to values greater than 255.

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  3. #3
    Indeed, I posted about this when the lighting stuff was released.

    The simplest workaround is to:
    1) Set the alpha channel of all your lights to something like 190 or 200 rather than 255. This gives you some headroom to avoid clipping.
    2) If you want coloured lights, make them more saturated (so if you want a strong red, turn down the green and blue channels, for example). More pastel colours clip to white more quickly.
    3) Avoid overlapping areas of bright light. For example, if a map has a lot of candles or torches placed close together, use one light with a bigger radius rather than lots of little overlapping lights.

    It's not foolproof- I'd really like FG to implement nice roll-off to prevent clipping, or do the calculations in a better colour/gamma space before transforming back to sRGB to display. But those three things will get you a long way towards making the colours look like you want them to look.

    Cheers, Hywel

  4. #4
    P.S. if you want a good in-depth overview of linear, log, colour spaces, etc. to illustrate what's going on:

    https://prolost.com/blog/aces

    Cheers, Hywel

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in