Is this possible?

I’m working on a fishing game the game uses photographs of real fishing locations as a background adds 3d fishing rods etc to the scene.

I have a plane that represents the water level and masks any object that’s below it. So things like floats can ‘go underwater’. I have a duck that swims around the plane and it looks like its on the water surface.

I’m trying to get a reflection for the water plane that reflects the objects but shows the background image through it, so basically it only shows the reflection.

I tried the mirror reflection from the unify website but it’s not transparent. :expressionless:

Can this be done?

Hi…
Do a Google search for the “Unity Island Demo” Find it and check it out… The water is really nice…
It is still available but you will probably need to dig a little…
A few months ago I found it and I also found a YouTube tutorial of how to fix the underwater shader to work in the latest version of Unity…
These links will help…

http://unity3d.com/support/resources/example-projects/islanddemo

http://www.jadeskaggs.com/2012/04/18/unity-3-5-island-demo-blue-green-water-color/

Best of Luck…

I think it depends a lot on your photographs. I assume you need a 3D representation of the shoreline for each photograph and your program needs to know where the shoreline is in the photographs.

EDIT: Reading the question again, I think my answer misses the point: I was more concerned about accurate reflections of the landscape, not of the objects.

This video might give you an idea of what I’m doing.

For what it’s worth, here is my try to do reflections in Unity without render-to-texture: Cg Programming/Unity/Mirrors - Wikibooks, open books for an open world