# Keyframed fog colour bug

**URL:** <https://forums.chaos.com/t/keyframed-fog-colour-bug/120379>\
**Category:** Issues\
**Created:** [October 29, 2024, 9:34am UTC](https://forums.chaos.com/t/keyframed-fog-colour-bug/120379 "2024-10-29T09:34:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![seandunderdale](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@seandunderdale](https://forums.chaos.com/u/seandunderdale)\
**Post date:** [October 29, 2024, 9:34am UTC](https://forums.chaos.com/t/keyframed-fog-colour-bug/120379/1 "2024-10-29T09:34:31Z")

</div>

Hi, If I have a keyframe on a shader’s fog colour, it beaks it. I have attached a scene. There seems to be a few issues lately where keyframes on objects, shapes or shaders have been causing issues in Maya / Vray. I think this is the third different bug Ive come across relating to this issue.

Maya 2024.2  
V-Ray 6 for Maya, update 2.2

(v6.20.02 from May 28 2024)  
​  
[keyframed\_fog\_colour.zip](https://forums.chaos.com/uploads/short-url/a7wyxPGQLMOUfgNjpumljexCbzd.zip) (219 KB)

---

<div class="post-metadata">

**Author:** ![vladimir\_krastev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vladimir_krastev/32/42177_2.png) [@vladimir\_krastev](https://forums.chaos.com/u/vladimir_krastev)\
**Post date:** [October 29, 2024, 1:10pm UTC](https://forums.chaos.com/t/keyframed-fog-colour-bug/120379/2 "2024-10-29T13:10:21Z")

</div>

Hi, thanks for posting. We reviewed your scene and reported the issue as a bug in our internal system (with ID VMAYA-13193). Thank you for bringing it to our attention.

---

<div class="post-metadata">

**Author:** ![vladimir\_krastev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vladimir_krastev/32/42177_2.png) [@vladimir\_krastev](https://forums.chaos.com/u/vladimir_krastev)\
**Post date:** [October 29, 2024, 1:51pm UTC](https://forums.chaos.com/t/keyframed-fog-colour-bug/120379/3 "2024-10-29T13:51:47Z")

</div>

Hi again. There is a possible workaround. You could use the VRayUserColor node for the fog color. Here is an example:  
 ![download_id=1f15GdgWon58x3Vd48eGpfKqY8M-Kg3rY&authuser=0.gif](https://europe1.discourse-cdn.com/chaosprd/original/3X/a/c/acd0d4f94b34e071ee0948f25c49fc78feb1315d.gif)

---

<div class="post-metadata">

**Author:** ![seandunderdale](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@seandunderdale](https://forums.chaos.com/u/seandunderdale)\
**Post date:** [October 29, 2024, 2:53pm UTC](https://forums.chaos.com/t/keyframed-fog-colour-bug/120379/4 "2024-10-29T14:53:19Z")

</div>

ok cool. Ill check that out. I wonder if also a colour constant node plugged in will work. Ill test it out when I get a chance.

---

<div class="post-metadata">

**Author:** ![SGesheva](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/sgesheva/32/61666_2.png) [@SGesheva](https://forums.chaos.com/u/SGesheva)\
**Post date:** [December 9, 2024, 6:19pm UTC](https://forums.chaos.com/t/keyframed-fog-colour-bug/120379/5 "2024-12-09T18:19:14Z")

</div>

Hi @seandunderdale ​,  
The keyframed fog color issue you reported is fixed in the latest [V-Ray 6.2 stable builds](https://nightlies.chaos.com/main#/merlin/stable/stable_6.2/20241120) as well as in[V-Ray 7 Beta](https://nightlies.chaos.com/main#/vraymaya7/beta/20241119).  
Thank you again for reporting it!
