Cryptonomicon Posted May 20, 2014 Share Posted May 20, 2014 Does anyone know whether graphics drawing problems with WebGL on firefox are a known problem? I am getting strange lines and artifacts as well as incomplete images. It occasionally happens on chrome if I make a change to the code while some old code is still on the screen in the debugger - but on firefox it happens all the time. Canvas is fine Link to comment Share on other sites More sharing options...
rich Posted May 20, 2014 Share Posted May 20, 2014 Usually strange lines around the edges of images are due to not having any (or enough) border / padding around images in a texture atlas. Link to comment Share on other sites More sharing options...
Nambiar Posted May 20, 2014 Share Posted May 20, 2014 I've seen it happening too. These tend to happen when I set the anchor to (0,1) or (1,0) and they disappear when the anchor is set to (0.5,0.5) Link to comment Share on other sites More sharing options...
rich Posted May 20, 2014 Share Posted May 20, 2014 Right because it's probably tripped over to sub-pixel values. I'm still confident they can be eliminated with proper shape padding. Link to comment Share on other sites More sharing options...
Cryptonomicon Posted May 21, 2014 Author Share Posted May 21, 2014 Worked out how to get a screen shot into this post the blue grid should cover the screen and the yellow line should not branch to the boundary (the faces are meant to be upside down and the green arrow is normal . I am testing a* and trying to see the path that has been calculated) Link to comment Share on other sites More sharing options...
Recommended Posts