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

Question How can I make a shadow shader like this?

Discussion in 'Shaders' started by TimmyTGames, Sep 2, 2022.

  1. TimmyTGames

    TimmyTGames

    Joined:
    Feb 8, 2018
    Posts:
    30
    You see how it actually looks like a shadow? It's being reflected off the beams and stuff. Anyone know how to make a shader like this? upload_2022-9-2_12-50-37.png
     
  2. TimmyTGames

    TimmyTGames

    Joined:
    Feb 8, 2018
    Posts:
    30
    Another example, see how the shadow is reflecting off this machine
     
  3. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,495
    Your second image is broken, so I can't really see for that case. But for the first image, that could be achieved with a sphere mesh that has holes in it and a light inside, and its renderer set to "Shadows Only". So this would be placed in the middle of that shaft and end up casting shadows outward like that, but you wouldn't actually see the sphere.