Jump to content
  • Advertisement
Sign in to follow this  

Missing pixels when rendering lines with WebGL

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

Hey, all.


I've got this weird behavior when rendering non-antialiased lines with WebGL.

Basically I've got a mesh, I create a buffer of _gl.LINES, where I have a line for each mesh edge. Now I should have a continuous geometry, but when I zoom in, I can clearly see missing pixels and lines are unconnected. Most pixels are missing on the very edge of the geometry




And very little inside the geometry as well, though



Edited by denisve

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!