Alex
Results
3
comments of
Alex
Hello @gFunc I've created a post on the forum https://gamedev.amazon.com/forums/articles/68210/fix-nans-produced-by-particles-when-facing-is-set.html
Most of such issue could be improved by changing draw order/sorting. Far trees should be drawn first.
This happens because wave generation in vertex shader moves Z of water surface lower, so perspective projection makes it smaller as it now a bit more far from camera. Line:...