Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question about underwater and light from edge of terrain..?

Discussion in 'General Graphics' started by jaekx, Dec 15, 2014.

  1. jaekx

    jaekx

    Joined:
    Dec 15, 2014
    Posts:
    27
    I go underwater and add some fog to look nifty and such right? ...But the light from the edge of the terrain is visible... can I kill that somehow without stretching out my map or adding stupid looking walls to the edge of the terrain? I thought the fog density (.19) would eliminate my ability to see that far anyways.....? Help?

     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    You could change the camera background to a fitting color if you are under water.
     
  3. Merman

    Merman

    Joined:
    Nov 16, 2014
    Posts:
    51
    Fog does not obscure the skybox, so I think that's what you're seeing (the skybox). Maybe tell the camera to clear to the fog color rather than to the skybox when it is under water.