# environment fog + 3D noise

**URL:** <https://forums.chaos.com/t/environment-fog-3d-noise/37983>\
**Category:** Issues\
**Created:** [July 19, 2011, 7:07pm UTC](https://forums.chaos.com/t/environment-fog-3d-noise/37983 "2011-07-19T19:07:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![X14Halo](https://avatars.discourse-cdn.com/v4/letter/x/59ef9b/32.png) [@X14Halo](https://forums.chaos.com/u/X14Halo)\
**Post date:** [July 19, 2011, 7:07pm UTC](https://forums.chaos.com/t/environment-fog-3d-noise/37983/1 "2011-07-19T19:07:18Z")

</div>

I can get my environment fog to work great, but when I try to plug in a maya 3D noise texture it does not look correct. I am using vray rect lights, so I tried plugging the 3d noise into the rect texture slot of the light. I also tried plugging it into the color slot. Putting it into the color and/or density of the environment fog itself makes the render time about 100 times longer, so that is not an option. (I can’t even tell if it would look correct anyway because of the huge increase in render time.) Any idea on how I can create a nice environment fog render with a 3D noise to break it up?

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [July 20, 2011, 6:56am UTC](https://forums.chaos.com/t/environment-fog-3d-noise/37983/2 "2011-07-20T06:56:10Z")

</div>

One option would be to use the NoiseMax texture (with a 3d placement node) - I think it calculates faster than the Maya volume noise. You can create it from the Create \> V-Ray \> Create texture from V-Ray plugin menu and then plug it into the density slot of the environment fog.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![Metzger](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/metzger/32/3024_2.png) [@Metzger](https://forums.chaos.com/u/Metzger)\
**Post date:** [July 22, 2011, 9:49pm UTC](https://forums.chaos.com/t/environment-fog-3d-noise/37983/3 "2011-07-22T21:49:54Z")

</div>

Maping a noise to the V-Ray vol fog Density has been super slow since 2.0 and a bit earlier. I remember when it was first supported it was much faster. Perhaps I am imagining this. Rendering fog with IES lights is quite stunning. Everyone should try it. 🙂

---

<div class="post-metadata">

**Author:** ![X14Halo](https://avatars.discourse-cdn.com/v4/letter/x/59ef9b/32.png) [@X14Halo](https://forums.chaos.com/u/X14Halo)\
**Post date:** [July 22, 2011, 9:52pm UTC](https://forums.chaos.com/t/environment-fog-3d-noise/37983/4 "2011-07-22T21:52:26Z")

</div>

Yea, it is super slow whatever I do. Hopefully it will be fixed down the road. It just renders black when I use the noisemax 3d texture. I will definitely try it with IES lights, sounds interesting.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [July 23, 2011, 1:07am UTC](https://forums.chaos.com/t/environment-fog-3d-noise/37983/5 "2011-07-23T01:07:46Z")

</div>

Well, for V-Ray 2.0 we implemented the Maya noise exactly as it is implemented in Maya itself, and that is slow 🙂 Before that we used our own noise generator, which was faster, but produced quite different results.

I’m attaching a simple scene with environment fog and NoiseMax texture.

Best regards,  
Vlado

 ![env_fog_noise.png](https://europe1.discourse-cdn.com/chaosprd/original/3X/d/2/d2b078a43727b7b1cce0d4ce91bba26689b932fe.png)  
[env\_fog\_noise.zip](https://forums.chaos.com/uploads/short-url/iYXsbfycB5ePmDUK7FcqvfVMFgG.zip) (8.22 KB)

---

<div class="post-metadata">

**Author:** ![X14Halo](https://avatars.discourse-cdn.com/v4/letter/x/59ef9b/32.png) [@X14Halo](https://forums.chaos.com/u/X14Halo)\
**Post date:** [July 23, 2011, 1:30am UTC](https://forums.chaos.com/t/environment-fog-3d-noise/37983/6 "2011-07-23T01:30:04Z")

</div>

Thank you very much vlado. I now understand why it is taking so long to render. The scene you sent renders very fast, but once I scale everything up to match my scene size (which is pretty big) it slows wayyy down. I guess i will have to stick with smaller scenes or find an alternate method of generating the fog. Thanks again.

---

<div class="post-metadata">

**Author:** ![X14Halo](https://avatars.discourse-cdn.com/v4/letter/x/59ef9b/32.png) [@X14Halo](https://forums.chaos.com/u/X14Halo)\
**Post date:** [July 23, 2011, 1:34am UTC](https://forums.chaos.com/t/environment-fog-3d-noise/37983/7 "2011-07-23T01:34:22Z")

</div>

one more question…how did you link the cube to the environment fog? I usually make a shader and then plug the environment fog into the volume slot of the shader. perhaps that’s what I was doing wrong?

edit: nvm I see now…relationship editor. everything works perfectly now, thanks again.
