About Store Forum Documentation Contact
Donations:
179$/mo



Post Reply 
Volumetric Clouds do not render with water in view
Author Message
Mikesanimation Offline
Member

Post: #1
Volumetric Clouds do not render with water in view
I've encountered a very weird bug where Volumetric clouds will not render whenever water is in view. I have tried different gfx files, different worlds, different visual settings and this is the conclusion that I have come to. In fact, you can try this for yourself. Just open up the tutorial 02- World.cpp, change it to load something with water in it, for example water.world, then add volumetric clouds.

Code:
Image cloud;
Bool Init()
{
...
cloud.load("LocalData/cloud.gfx");
Clouds.volumetric.set(&cloud, NULL);

...
}

Bool Update()
{
...
Clouds.volumetric.update(Vec2(4,4));
...
}

You will notice that they don't show up if the lake/river object is in view, but if you hold right click and pan over until they are no longer in view, the clouds will then appear.
12-18-2009 06:53 AM
Find all posts by this user Quote this message in a reply
Chris Offline
Member

Post: #2
RE: Volumetric Clouds do not render with water in view
Works fine for me, with water, but I was using:
Code:
Clouds.layered.set(3,Images("Clouds/Layers/0.gfx"));
instead of
Code:
cloud.load("LocalData/cloud.gfx");
12-18-2009 12:42 PM
Find all posts by this user Quote this message in a reply
Mikesanimation Offline
Member

Post: #3
RE: Volumetric Clouds do not render with water in view
Right, but that's layered clouds and I'd like to use volumetric.
12-18-2009 05:24 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Volumetric Clouds do not render with water in view
Thank you, this error will be fixed in the next engine version
12-18-2009 05:34 PM
Find all posts by this user Quote this message in a reply
Mikesanimation Offline
Member

Post: #5
RE: Volumetric Clouds do not render with water in view
(12-18-2009 05:34 PM)Esenthel Wrote:  Thank you, this error will be fixed in the next engine version

Thanks smile
12-18-2009 05:38 PM
Find all posts by this user Quote this message in a reply
Post Reply