Page 1 of 1
Water. Splash.
Posted: Tue Aug 19, 2003 8:56 pm
by newt
giving it a deep ocean effect... is there a way to make water that fades.... like lighter on top and fades darker.... I know praolly make light water then make darker water underneth but that looks kinda crappy... any way else?
the ship will be in one place for now.... anchored.... how do I make it so when the ship get to a certain angle water splash as if the boat was actually hitting the waves.
waves lol.... i need help in that other thread.
Posted: Tue Aug 19, 2003 9:59 pm
by Alcoholic
if its for single player, you could put a trigger under the water that sets a dark/dense farplane...
Posted: Tue Aug 19, 2003 11:10 pm
by newt
its mp
Posted: Tue Aug 19, 2003 11:55 pm
by Alcoholic
the only way i'm thinking is a dense farplane

. if you don't give a farplane color, the farplane will be black, and thats sorta what you want.

Posted: Wed Aug 20, 2003 12:34 am
by newt
not the whole map......
Posted: Wed Aug 20, 2003 7:54 am
by rOger
From the Q3Shader manual
6.4 AlphaGen <func>
The alpha channel can be specified like the rgbchannels. If not specified, it defaults to 1.0.
6.4.1 AlphaGen portal
This rendering stage keyword is used in conjunction with the surface parameter keyword portal. The function accomplishes the "fade" that causes the scene in the portal to fade from view. Specifically, it means "Generate alpha values based on the distance from the viewer to the portal." Use alphaGen portal on the last rendering pass.
Never tried it though, so it probably won't work.

Or it might not even do what I think it will.
Posted: Wed Aug 20, 2003 5:24 pm
by Alcoholic
isnt that for the surface (the texture itself)?
Posted: Wed Aug 20, 2003 6:13 pm
by rOger
Might be, as I said it might not be at all what i thought it to be.