To create some water for my game. However after complementing everything i have come across several issues.
Here is a video that outlines some of my issues since its easier to explain it that way:
You may read the description for more info or read below:
> Firstly you can see that the reflection is much to large, both for the Red Object and the sky.
> Secondly, you can see that the normal maps is returning a strange white look ontop of the water, instead of small wave shadows.
> And lastly, when i rotate the camera, the water shape seems to change.
Hmmm. I’ve tried everything. I’ve looked where the cam object is referenced. For the last issue where everything changes when i rotate the camera. It is referenced a lot, so perhaps it changes something when the cam is rotated by accident. Ive also looked at the reflection code, but i cant find anything there As for the normals, i think this approach uses them as a specular sort of thing. But its not white enough.
I think. This: .addLocal(cam.getDirection() causes the mesh to rotate with the camera, but when it roatetes with the camera, it somehow changes its appearance along the grid.