(SOLVED)Water moving up and down problem.

Started by Ginev, March 23, 2016, 01:00:32 PM

Previous topic - Next topic
March 23, 2016, 01:00:32 PM Last Edit: March 24, 2016, 02:56:10 AM by Ginev
Hey guys.I was testing something with the water fx file on my map and i run into a problem.I added water to my test map but the water is moving slowly up and down.How to stop this?I want the water to stop moving up and down at all.My test map 3 letter name is QWE so i opened the QWE.fx file but i still cant find the code that prevent this from happening.If someone know please help.Just remember that i am using water not ocean.I think they use different values.

EDIT:Found it.the water is not moving now.
I added this 2 lines in my QWE.fx file in the water PC section.

OscillationEnable(0);
LightAzimAndElev(1.0,0.0);

(SOLVED)