Announcement

Collapse
No announcement yet.

Distance fog material problems: Makes translucent objects disappear??

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Distance fog material problems: Makes translucent objects disappear??

    Hi, I'm trying to create distance fog for my game and I followed a guide, but it causes problems with both translucent and alpha-composite materials. It makes them invisible!

    Otherwise it works for opaque ones like it should (Opaque objects disappear when very far away from the camera but ones closest to the camera are clear). What can I do to fix this??


    Scene without distance fog (gems are translucent):



    The distance fog postproccess material:


    Gems get cut off with the distance fog:







    I tried the exponential height fog, but makes it so that even the objects closest to the camera still are foggy looking(have thin layer of fog).
    Distance fog is supposed to make objects in the distance become unseen and objects closest to the camera very clear and have no fog.

    This is how distance fog is supposed to work:

    Last edited by tapirtoon; 01-10-2019, 04:25 PM.

    #2
    ...bump...

    Comment


      #3
      Expontential fog is what you want. Just set the density until look is correct.

      Comment


        #4
        While I am not completely sure about it, I am suspicious that this particular switch in the material properties is present there because someone already encountered similar problem before:
        Click image for larger version

Name:	transfog.PNG
Views:	1
Size:	43.4 KB
ID:	1571187
        Try to toggle it. It could help.
        https://www.artstation.com/artist/rawalanche

        Comment


          #5
          Originally posted by Kalle_H View Post
          Expontential fog is what you want. Just set the density until look is correct.
          Okay, thanks.

          Comment

          Working...
          X