I think I found a couple of minor bugs in the VRayEnvironmentFog when using multiple effects.
All fogs listed above an entry that uses just the fog height appear to be ignored. For example, say you have three fogs in the list: -top- Env1(using fog height), Gizmo1, Gizmo2, and Env2(using fog height) -bottom-. In this example, the only fog visible in the render would be Env2. If you moved up Env2 to the next slot now the render will show Env2 and Gizmo2 but now the Env2 fog shows up much different from the first render (it looks like the fog distance is getting increased a lot). Moving Env2 up one more time puts it above gizmo1 and now both gizmo fogs render along with the incorrect version of Env2. Moving Env2 up one more time puts it at the top of the stack and the rendering no longer shows Env2 at all but shows both gizmo fogs along with an incorrect version of Env1.
In short I think the problem is related to multiple fogs that use just the fog height since using multiple fogs that have gizmos seem to combine just fine.
Tested on Max9x64. Let me know if you need the scene.
All fogs listed above an entry that uses just the fog height appear to be ignored. For example, say you have three fogs in the list: -top- Env1(using fog height), Gizmo1, Gizmo2, and Env2(using fog height) -bottom-. In this example, the only fog visible in the render would be Env2. If you moved up Env2 to the next slot now the render will show Env2 and Gizmo2 but now the Env2 fog shows up much different from the first render (it looks like the fog distance is getting increased a lot). Moving Env2 up one more time puts it above gizmo1 and now both gizmo fogs render along with the incorrect version of Env2. Moving Env2 up one more time puts it at the top of the stack and the rendering no longer shows Env2 at all but shows both gizmo fogs along with an incorrect version of Env1.
In short I think the problem is related to multiple fogs that use just the fog height since using multiple fogs that have gizmos seem to combine just fine.
Tested on Max9x64. Let me know if you need the scene.
Comment