Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it now!
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. 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:
    182
    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,874
    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:
    182
    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:
    23,610
    Really just need a bake to vert col option for beastie poos.
     
  6. jonlab

    jonlab

    Joined:
    Apr 6, 2010
    Posts:
    182
    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