Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

► Colored Shadows ◄

Discussion in 'Assets and Asset Store' started by Arkhivrag, Aug 4, 2014.

  1. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,932
    Collection of shaders with incredible colored shadows.

    Screen_6_Glow_2.png


    Package contains overridden version of all Unity built-in shaders to support colored shadows.
    Shaders work only with dynamic light shadows and can not be backed.
    Shaders are dedicated for Forward rendering mode.
    Shaders receive shadows from Point and Spot lights in Forward rendering.

    For shadow color controlling shaders have four option:
    • Custom - custom color can be used as shadow color
    • Gradient - texture gradient for shadow look-up
    • Light Color - shadow color is taken from light that lit object
    • Invert Light Color - same as above, but with invert light color

    For shadow color controlling also can be used texture in format RGB and RGBA.
    Colored shadows can be emissive.

    All.jpg


    v1.02
    • Free

    v1.01
    • Unity 5 compatible.
    • Fixed variables used without having been completely initialized.
    • Fixed inconsistent line ending warnings.



     
    Last edited: Jan 26, 2017
  2. ikemen_blueD

    ikemen_blueD

    Joined:
    Jan 19, 2013
    Posts:
    340
    Very beautiful :) . Is it Mobile supported?
     
  3. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,932
    Thanks. If mobile can handle realtime shadows, then yes.



    VacuumShaders - Facebook Twitter YouTube
     
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,982
    Very nice, I see it supports point and spot in forward, does that mean it doesn't support directional?
     
  5. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,932
    It supports directional light.



    VacuumShaders - Facebook Twitter YouTube
     
  6. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,932
    ikemen_blueD likes this.
  7. nukeD

    nukeD

    Joined:
    Feb 12, 2009
    Posts:
    410
    Hey Davit, i don't know when and why you made it free, but thank you so much!
    Today i was composing a scene and really needed colored shadows and bam... amazing!

    Thank you very much!

    The questions (using Unity 4.6.9f1 PRO):
    - is it possible to make a shadow completely opaque?
    - is it possible to set the blending to normal (what i mean is pick a color and get that color, kinda like an unlit polygon)?
    - i guess both questions are very similar :p

    Thanks again!
     
  8. Arkhivrag

    Arkhivrag

    Joined:
    Apr 25, 2012
    Posts:
    2,932
    Colored shadow depend on shadowmap texture generated by Unity. Try increasing emission.



    VacuumShaders - Facebook Twitter YouTube
     
  9. nukeD

    nukeD

    Joined:
    Feb 12, 2009
    Posts:
    410
    Thanks man!
     
  10. backwheelbates

    backwheelbates

    Joined:
    Jan 14, 2014
    Posts:
    225
  11. WhipJr

    WhipJr

    Joined:
    Aug 3, 2011
    Posts:
    125
    Any plans to update this for the newer versions of unity? The game i'm currently making revolves around this fantastic asset.
     
  12. ThreeRing

    ThreeRing

    Joined:
    Aug 24, 2016
    Posts:
    15
    Exactly what I was looking for!
    Any chance of it coming soon to new Unity versions?