evanw / lightgl.js

A lightweight WebGL library
MIT License
1.52k stars 146 forks source link

Problem in Chrome with textures #5

Closed jagenjo closed 12 years ago

jagenjo commented 12 years ago

I'm not sure if this is a bug from chrome or lightgl, but some textures (RGB POT) look black. It happens when using mipmaps for minFilter, the bug doesnt happens in Firefox. Im trying to isolate the bug.

The example of multitexture on the lightgl examples has this problem: http://evanw.github.com/lightgl.js/tests/multitexture.html

jagenjo commented 12 years ago

when in chrome It looks like the mipmap 0 is totally black (but if you generate the rest using generatemipmaps they look fine).

evanw commented 12 years ago

That's odd. It might be a driver issue because it has always worked fine for me and I always develop in Chrome. Can't reproduce on OS X 10.6.8.

jagenjo commented 12 years ago

It was a chrome bug, it seems they fixed it in the latest version.