deformvertexes wave and wolf terrain


(ratty redemption) #1

can they be used together?

Im using a meta shader to make a water surface, but I havent yet got deformvertexes wave working on it, but all the other water type properties appear to be working.

the reason Im trying to make water out of terrain is Im using alphagen vertex and an alphamap to control blending, plus using the alphamap to assign different shaders like which direction the water is flowing in.


(ydnar) #2

The individual shaders need to have the vertex deform, not the base shader. Only Q3Map2 honors the baseshader directive.

Also, you should use nonsolid, non-water shaders for the terrain, and nodraw instead of caulk on the sides. Then place a single nodraw water (watercaulk) brush occupying the volume you wish to be water.

The server-side performance of the map will be much higher.

y


(ratty redemption) #3

thanx ydnar, that worked perfectly :smiley:

although my nodraw water brush uses this folowing shader on all its sides… is this as what you ment by “water caulk” or is that different?

textures/mymap/nodraw_water
{
	qer_editorimage textures/mymap/nodraw_water.tga
	surfaceparm nonsolid
	surfaceparm nodraw
	surfaceparm water
	surfaceparm trans
	qer_trans 0.3
	qer_nocarve
}