Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: hide mesh or change material in reflections

  1. #1
    Intern Contributor
    Join Date
    May 2008
    Posts
    77

    hide mesh or change material in reflections

    Hi
    on a mesh with reflections:
    http://nehe.gamedev.net/tutorial/sph..._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

  2. #2
    Intern Contributor
    Join Date
    May 2008
    Posts
    77
    Click image for larger version. 

Name:	ss.jpg 
Views:	57 
Size:	91.7 KB 
ID:	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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •