Greetings everyone! I...am having trouble with the ocean shader I am creating, specifically with the waves at this moment. Currently, I am using a sine wave into a 3 vector (Z) into the world position offset. Currently however, it's not displacing the sine wave in the correct direction. The waves are being displaced from the sides (X) instead of from the front and back (Y) which is now causing the ocean to look really dynamic, but the waves to be 100% flat.
I am still very new to unreal engine 5, so I am having trouble figuring out where to start, to change the direction from X to Y to get the waves to displace.
The multiply after the wave height parameter is what is going into the world position offset.
Here you can see it displacing, but not in the direction of the waves.
We can also voice chat on Discord where I can share my screen.
Thank you Everyone, any assistance is greatly appreciated.
Replies