Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

experimental vertex color painting lighting engine

Discussion in 'Works In Progress' started by jonlab, Sep 6, 2012.

  1. jonlab

    jonlab

    Joined:
    Apr 6, 2010
    Posts:
    181
    Hi,

    As an answer to a project's need in the Commercial Work section, I started an experimental lighting engine in Unity.

    The original thread : http://forum.unity3d.com/threads/149110-IES-photometric-file-support
    The work is still in progress :


    Here's a web player demo to play with :
    www.tanant.info/demo/VertexLightDemo3.html

    (as a quick start, clic on "L Grid on wall" and "Bake" . You can orbit cam with mouse drag and select lights to edit parameters)
     
  2. Mander

    Mander

    Joined:
    Jul 12, 2012
    Posts:
    68
    WOW dude thats really nice. Amazing job. but isn't there something for this already in unity?.
     
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    31,748
    If you're talking about Beast, that doesn't bake to vertex colors, and is only available in the editor, not at runtime.

    --Eric
     
  4. jonlab

    jonlab

    Joined:
    Apr 6, 2010
    Posts:
    181
    Yes, absolutely !
    Beast is amazing but rendering is very cpu-intensive and takes a long time. And lightmaps textures memory footprint is sometimes also a problem.

    Vertex color painting could be a very much cheaper alternative when lighting has to change at runtime (rendering takes only a few seconds depending on lights count) and on a mobile platform (light count is virtually unlimited).
     
    Last edited: Sep 7, 2012
  5. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    22,232
    Really just need a bake to vert col option for beastie poos.
     
  6. jonlab

    jonlab

    Joined:
    Apr 6, 2010
    Posts:
    181
    A few experimentations with power and directivity patterns :













     
  7. gl33mer

    gl33mer

    Joined:
    May 24, 2010
    Posts:
    277
    Wow. Just stumbled onto this for the first time.

    Is this happening?
     
  8. beck

    beck

    Joined:
    Nov 23, 2010
    Posts:
    294