Jump to content
  • Advertisement
Sign in to follow this  
napier

line_strip changes when texture's enabled

This topic is 4879 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

I'm drawing line strips, with blending enabled. When I enable GL_TEXTURE_2D I notice that the blending changes slightly, it gets a little fainter. This becomes noticeable if several lines are overlapped. Do textures affect the rendering of lines? I can easily disable texture before rendering lines, but I'm wondering if there's a reason for this shift or if it's just a fluke. Any clues are welcome.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Do textures affect the rendering of lines

yes, texture works on both lines and GL_POINTS, so normally u disbale dtextureing before u draw them

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!