PDA

View Full Version : hide mesh or change material in reflections



mikethebike
06-06-2013, 09:36 AM
Hi
on a mesh with reflections:
http://nehe.gamedev.net/tutorial/sphere_mapping_quadrics_in_opengl/15005/

I want to keep reflections and hide the mesh. Or in other words, I need to show a textured mesh. The example looks like chrome but I want like a car with a polished dark color.
Could I change the material in the above example?
Thanks

mikethebike
06-07-2013, 02:07 AM
1050
I'm playing around with settings as:
http://www.andersriggelsen.dk/glblendfunc.php
but as you can see in the images...through the doors etc. the provisionally textured airplane is visible. The mesh for/with reflections is in front and even the water etc. is visible through but not the mesh behind.
Many thanks for any help.