Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Any ideas on implementing dirt to appear on light?

Discussion in 'Shaders' started by JohnPet, Oct 24, 2012.

  1. JohnPet

    JohnPet

    Joined:
    Aug 19, 2012
    Posts:
    85
    The effect below is what i am looking for. The camera dirt appears only when you look at light, which means, the dirt itself is lit. How can i achieve this effect? Scripts, or shaders?

     
  2. Daniel_Brauer

    Daniel_Brauer

    Unity Technologies

    Joined:
    Aug 11, 2006
    Posts:
    3,355
    You mean like in this thread about exactly the same thing?
     
  3. JohnPet

    JohnPet

    Joined:
    Aug 19, 2012
    Posts:
    85
    With no answer..because its old..