If this is windows-specific, it could be an ANGLE bug in the conversion to DirectX. Might be worth checking their bug tracker, maybe it's a known issue. Another thing to maybe check is that on Firefox on windows there is a way to use OpenGL drivers instead of ANGLE/DirectX, if that works then it helps pinpoint the issue.
Although, Edge doesn't use ANGLE, so maybe that's not it. On Wed, Nov 23, 2016 at 11:59 AM, Tero Pulkkinen <[email protected] > wrote: > webgl with emscripten seems to do something odd with GL_POINTS in windows. > Linux/mac builds works ok, but windows browsers seem to give just black > screen where I expect some white points. normal opengl build in win32 works > ok, so it is something webgl related. The generated emscripten javascript > code is able to show the GL_POINTS; but only in linux/mac build. Every > browser in windows seem to have this problem, I've tried it with two > versions of chrome, edge and firefox, but they all seem to give just black > screen where GL_POINTS are expected. I've tried nvidia's gfx card, and > intel card, but both drivers are giving the same problem. > > I know shaders have some issues with number of uniform variables in webgl, > such that the limits are very small, like 15 uniform variables, before it > hits black screen kind of problems, but I don't think this piece of code > goes above that limit. > > Is there anyone who has got GL_POINTS working in windows webgl under > emscripten? > > // tp > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
