Quote:

the exe works fine..
when i use the code in my work folder i got a problem

"parameter unknown d3d_shaderversion"

i'm using 6.30 commercial

ps: the watershader.fx is already included!

??????????????????




Update to 6.31+, or remove the IF block in the function load_water_fx in water.wdl and simply have:

effect_load(water_fx,"watershader.fx");
wait(5);