Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,038 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Shade-c] water entities #285133
08/17/09 11:06
08/17/09 11:06
Joined: Mar 2009
Posts: 276
Cebu City, Philippines
boyax Offline OP
Member
boyax  Offline OP
Member

Joined: Mar 2009
Posts: 276
Cebu City, Philippines
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

Re: [Shade-c] water entities [Re: boyax] #289895
09/16/09 07:21
09/16/09 07:21
Joined: Oct 2008
Posts: 46
Germany
M
Masterchief_JB Offline
Newbie
Masterchief_JB  Offline
Newbie
M

Joined: Oct 2008
Posts: 46
Germany
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


JDB Artist - Composer & Game Dev
Stranded - Nowhere
Developed by JDB Artist (Masterchief)



Moderated by  aztec, Blink, HeelX 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1