Announcement

Collapse
No announcement yet.

VRay Volumetric Fog

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

  • VRay Volumetric Fog

    I have an object being used as a volumetric fog gizmo and I cannot get the fog color or density to be mapped to a gradient. Expected behavior would be that it would inherit the texture from the source object. I realize this may not be the case because fog has no UV's and would need a procedural texture. Even when using something like a vraydistancetex or a falloff on object mode like the doc here states http://docs.chaosgroup.com/display/V...nvironmentFog#... it doesn't seem to work. I want to be able to fade out the fog with a gradient ultimately, but I can't control the location of a world XYZ gradient predictably. I figured an gizmo based fader makes the most sense, but it is not working. Any suggestions?

    max 2015 3.10.03
    -Joel E
    https://www.biglittlepictures.com

  • #2
    Maybe you should post a sample scene?

    I just tried using DistanceTex to control the fog color and it worked fine. See screenshot attached. The DistanceTex is keying off the red sphere.

    Using the DistanceTex with black/white colors in density also works.
    Attached Files

    Comment


    • #3
      The distance texture might be a bit of an overkill for that purpose, a Falloff map in distance blend mode could be faster.

      Best regards,
      Vlado
      I only act like I know everything, Rogers.

      Comment


      • #4
        Found my issue. It was a Cylider Gizmo, it doesn't seem to work with that for some reason.
        -Joel E
        https://www.biglittlepictures.com

        Comment


        • #5
          Can you post a scene like this, just to check what may be wrong?

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment

          Working...
          X