I have tried to do some cubemapping with a water plane. However the cubemap stuff doesn't produce the desired results basing the cubemapping from the plane's xyz, or the camera's xyz. The cubemap in my mind should be like my following example, where a ray hits the water depending on the camera's angle, and basing the cubemap from the coords where the ray hits the water.
C = Camera
O = object
* = ray
w = waterplane
X = wanted xyz coords
e = emtpy space(stupid forums not allowing spaces)
CeeeeeeeOeee
e*eeeee*eeee
ee*eee*eeeee
eee*e*eeeeee
wwwwXwwwwwww
Does this seem logic? or am I completely lost? How do you do a ray to obtain the wanted xyz parameters?
C = Camera
O = object
* = ray
w = waterplane
X = wanted xyz coords
e = emtpy space(stupid forums not allowing spaces)
CeeeeeeeOeee
e*eeeee*eeee
ee*eee*eeeee
eee*e*eeeeee
wwwwXwwwwwww
Does this seem logic? or am I completely lost? How do you do a ray to obtain the wanted xyz parameters?