Welcome! Log In Create A New Profile

Advanced
Re: Drawing conditional lines
avatarMay 10, 2013 01:50PM
This is because alpha blending is applied to the pixel color that's present at the time of rendering the transparent poly. If you draw something else later on that's further away gl will ignore it based on the z buffer.

To prevent this you need to render all solid things before you render any transparent stuff. You also might need to sort individual poly/parts when using multiple transparent colors in a single scene. If you don't do that the colors won't blend naturally.
SubjectAuthorViewsPosted
Drawing conditional lines Santeri Piippo369May 08, 2013 12:24PM
Re: Drawing conditional lines Travis Cobbs181May 08, 2013 01:46PM
Re: Drawing conditional lines Tim Gould149May 08, 2013 02:20PM
Re: Drawing conditional lines Travis Cobbs175May 08, 2013 03:32PM
Re: Drawing conditional lines Santeri Piippo177May 08, 2013 03:41PM
Re: Drawing conditional lines Travis Cobbs171May 08, 2013 04:10PM
Re: Drawing conditional lines Santeri Piippo171May 08, 2013 03:03PM
Re: Drawing conditional lines Alex Taylor188May 10, 2013 09:00AM
Re: Drawing conditional lines Roland Melkert177May 10, 2013 12:13PM
Re: Drawing conditional lines Santeri Piippo176May 10, 2013 12:27PM
Re: Drawing conditional lines Roland Melkert242May 10, 2013 01:50PM



Sorry, only registered users may post in this forum.

Click here to login