Search Unity

Question To darken just an area, a spot?

Discussion in 'Getting Started' started by Funwill, Dec 17, 2022.

  1. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Greets!

    Could i apply darkness to just a small zone/area? For instance i want to add shadows inside a game object, or diffuse darkness around a skeleton.

    Possible?

    Cheers!
     
  2. John_Leorid

    John_Leorid

    Joined:
    Nov 5, 2012
    Posts:
    651
    Decals, Dark Transparent Particles set to "Alpha Multiply", a mesh (sphere, cube, custom) with a dark transparent material. There are many ways to achieve this - game dev is all smokes and mirrors, just try different things and see what fits your requirements.
     
  3. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Thxs, i'll try all that!
     
  4. Funwill

    Funwill

    Joined:
    Nov 10, 2018
    Posts:
    128
    Well, i'm on URP, and i can't seem to find decals or shader for that... Any guidance folks?