[fixed]Coloured 3D water doesn't work under a skybox sky.
Posted: Wed May 17, 2006 22:59
I figured out what the problem I was having in this thread was due to:
http://forum.drdteam.org/viewtopic.php?t=1710
I think this is a bug - or it may be a "you can't do that" situation.
It just so happens that the area I was trying to colour the under water of was in an outside area under a traditional skybox sky. The attached shows the problem. Start a game on medium or hard and dive into the pool. You shouldn't get any underwater colouring. Then swim into the darker undercover bit - your view should mist up. Now, turn through 180 and look back where you came and the view becomes un-misty again.
Repeat the process on the easy setting. I set the skybox camera to only be present on medium and hard so you get a normal sky on easy. As soon as you jump in the water, you get the misty effect as intended.
The script in the level is simply:
http://forum.drdteam.org/viewtopic.php?t=1710
I think this is a bug - or it may be a "you can't do that" situation.
It just so happens that the area I was trying to colour the under water of was in an outside area under a traditional skybox sky. The attached shows the problem. Start a game on medium or hard and dive into the pool. You shouldn't get any underwater colouring. Then swim into the darker undercover bit - your view should mist up. Now, turn through 180 and look back where you came and the view becomes un-misty again.
Repeat the process on the easy setting. I set the skybox camera to only be present on medium and hard so you get a normal sky on easy. As soon as you jump in the water, you get the misty effect as intended.
The script in the level is simply:
Code: Select all
#include "zcommon.acs"
script 100 open
{
Sector_SetFade(2, 0, 64, 128);
}