[Shade-c] water entities

Posted By: boyax

[Shade-c] water entities - 08/17/09 11:06

There are 4 water entities I'm using in my level. Some works perfectly with the shader (I really like the water foam at the side, it looks real) and some are not.

The action for the water entities, I've just called like
Code:
action act_waterShadeC()
{
   sc_water(my);
}



And for additional waterplane
Code:
action act_waterSwamp()
{
  //set myDepth to 2, so water gets clipped when generating the depthmap
  sc_skill(my,sc_myDepth, 2);
  //set water material
  my.material = sc_mtl_water;	
}



But the additional waterplane has some render errors:


Anyone had encountered with this error? Thanks
Posted By: Masterchief_JB

Re: [Shade-c] water entities - 09/16/09 07:21

Maybe this is the reason?

Shade-C Manual: Now place the plane in WED and make sure that my.z = 0. If the z position isn't equal 0 the water will render incorrectly.

Cheers,
Masterchief JB
© 2024 lite-C Forums