Sign in to follow this  
napier

line_strip changes when texture's enabled

Recommended Posts

napier    130
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
zedzeek    529
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this