I created a texture atlas and in Chrome there is some wh开发者_Go百科ite on the edges of the cubes. However in Firefox it displays just fine. When I use colors there are not white edges either in Chrome or Firefox so it appears to be strictly a texturing problem. The texture atlas is 64 x 64 pixels and there are 16 total textures within the texture atlas at a width of 16 each.
Has anyone had a similar issue or know maybe why I am having this problem?
I found out the problem was caused by the fact that Chrome by default sets antialiasing on whereas Firefox does not. This setting can be set when getting the WebGL context. http://www.khronos.org/registry/webgl/specs/latest/#5.2
精彩评论