# Fog within Gizmo only works with RT

**URL:** <https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533>\
**Category:** Issues\
**Created:** [December 23, 2016, 12:43pm UTC](https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533 "2016-12-23T12:43:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![thn](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@thn](https://forums.chaos.com/u/thn)\
**Post date:** [December 23, 2016, 12:43pm UTC](https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533/1 "2016-12-23T12:43:21Z")

</div>

Hi  
I have a strange problem, which I don’t think I’ve had before. When using VrayEnvironmentFog for volume lighting effects, it only works with normal rendering without a gizmo. With Vray RT it works both with and without.  
Here’s a test, left image is with RT, right image is with standard Vray render, no fog! Is there some small knob that must be turned on when rendering?

regards,  
Thomas

 ![fog-rt-advan.JPG](https://europe1.discourse-cdn.com/chaosprd/original/3X/8/9/892150f3fd9079074d07b01254459fac19707136.jpeg)

---

<div class="post-metadata">

**Author:** ![thn](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@thn](https://forums.chaos.com/u/thn)\
**Post date:** [January 5, 2017, 3:02pm UTC](https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533/2 "2017-01-05T15:02:19Z")

</div>

Still haven’t got a clue, sincerely hope someone has :roll:

---

<div class="post-metadata">

**Author:** ![Miro](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/miro/32/2302_2.png) [@Miro](https://forums.chaos.com/u/Miro)\
**Post date:** [January 8, 2017, 2:22pm UTC](https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533/3 "2017-01-08T14:22:50Z")

</div>

Works fine here. Can you share that scene from the screenshots? Also, which 3ds Max & V-Ray versions are you using?

---

<div class="post-metadata">

**Author:** ![thn](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@thn](https://forums.chaos.com/u/thn)\
**Post date:** [January 9, 2017, 8:41am UTC](https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533/4 "2017-01-09T08:41:21Z")

</div>

Here’s the scene. I’m using 3DS max 2016 (version 18,0 SP4) with Vray 3.40.03

if I render with RT it works, not with ‘normal’ Vray

Regards,  
Thomas  
[gizmofog.zip](https://forums.chaos.com/uploads/short-url/ey3EcqMTgBBjSJdhqynYfnx020S.zip) (204 KB)

---

<div class="post-metadata">

**Author:** ![Miro](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/miro/32/2302_2.png) [@Miro](https://forums.chaos.com/u/Miro)\
**Post date:** [January 9, 2017, 2:39pm UTC](https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533/5 "2017-01-09T14:39:54Z")

</div>

Looks like the problem is the negative height value of the box gizmo - it messes up with environment fog. Change it to a positive value and everything should work fine.

---

<div class="post-metadata">

**Author:** ![thn](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@thn](https://forums.chaos.com/u/thn)\
**Post date:** [January 9, 2017, 2:44pm UTC](https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533/6 "2017-01-09T14:44:09Z")

</div>

Yes, now it works - it was the negative height of the box. Strange that it didn’t affect RT.  
I’m glad you nailed it 🙂

Thomas

---

<div class="post-metadata">

**Author:** ![Miro](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/miro/32/2302_2.png) [@Miro](https://forums.chaos.com/u/Miro)\
**Post date:** [January 11, 2017, 9:45am UTC](https://forums.chaos.com/t/fog-within-gizmo-only-works-with-rt/61533/7 "2017-01-11T09:45:44Z")

</div>

We’ve made a note about this discrepancy between RT Cpu and Adv.  
Anyway, glad we could help you out.
