Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Tom Friedl

wireframe and shaded

This topic is 5235 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there. is it possible to render my model shaded with an wireframe on top? like this: www.cgcube.de/forum/cube.jpg I haven''t found any specific settings...so I guess there is no command for this. So what''s the best way for doing this? Render first the shaded model and than the wireframe? Or render the shaded model and than render lines for the edges? What would be faster? I guess the lines would be better, since I''m making a model editor, and edges are selectable and so they will change their color if they are selected.... What do you suggest?

Share this post


Link to post
Share on other sites
Advertisement
...and if/when you get z-fighting between your lines and your solid object, you''ll probably want to look into using glPolygonOffset.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!