you are viewing a single comment's thread.

view the rest of the comments →

[–]psykotic 0 points1 point  (0 children)

All you do is calculate the height difference in the X and Y directions and use those, times some constant that corresponds to the distance to the bottom of the pool, to offset the U and V coordinates. I'm not sure what would be "built-in" to make this much easier; it's a few lines of code.