   reflections
  I have a skybox in that the top half is the image and the bottom half is a reflection.  I then draw the water withglDepthMask(GL_FALSE); so it looks like a reflection.  It works but when i have some of my terrain under water i want the reflection to still be on the water and still see the under water terrain.  How would I do this. 
  Hmm, I see what you''re saying, but why not just use sphere mapping for your reflections?  It''s more accurate?  But anyway, with your technique, why not just blend the terrain with the bottom of your skybox?   ;  Good point but i can''t remember how to do sphere mapping. ;quote:Original post by hello_there  Good point but i can''t remember how to do sphere mapping.   This should help, although cube-mapping might actually work better in this case.  Either way you''ll still need to blend the reflection "layer" with the terrain. ;  Ahh now i remember.  Thanks.  How am i going to get the texture to do it though. ;quote:Original post by hello_there  How am i going to get the texture to do it though.   Get what texture to do what?   ;  oh wait never mind. 