Mikesanimation
Member
|
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 |
|
Chris
Member
|
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 |
|
Mikesanimation
Member
|
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 |
|
Esenthel
Administrator
|
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 |
|