ocean water


(dime1622) #1

it seems as though all my textures/liquids textures are gone so i only have like 4 water textures to choose from, only 2 of which are transparent, siwa_water and siwa_water_2. the others end up being rock solid :confused: anyway, i would like to add ocean to my map, not just standing water. if i edit the shader file to include:

deformVertexes wave 64 sin .25 .25 0 .5

right after my surfaceparm’s, i should be able to get rolling ocean-looking water, correct?


(Chruker) #2

That sounds about right. Though depending on the brush you’re applying the texture to, you may need to have the surface subdivided with this command:
q3map_tessSize 256

This command will subdivide the surface into subtriangles each 256 units big. This subdivision is done at compile time during the bsp stage.

Once you get the wave heights correct, you can adjust this value until you get a satisfied result using as high a number as possible.