Hi Mark,

Thanks for the explanation. Very helpful. I just recently tested this on 
Canary Chrome as well. Pretty much the same exact issue. Was curious about 
how GLSL ES3 gets translated into GLSL WebGL2? I didn't realize that 
varying was still used in GLSL WebGL2. Perhaps that could be apart of the 
issue?

Hai

On Monday, November 30, 2015 at 3:49:17 AM UTC-8, キャロウ マーク wrote:
>
>
> > On Nov 29, 2015, at 3:42 PM, Hai Nguyen <[email protected] 
> <javascript:>> wrote: 
> > 
> > Hi jj, 
> > 
> > I'm working on a project that uses ES3 and I'm trying to make it work 
> with Emscripten. I got the code base building with 'incoming'. I'm getting 
> this error when I i try to set the version in the a GLSL shader: 
> > 
> > VERTEX: #version, if declared, must be `100`. 
> > 
> > In my shader source I do have: 
> > #version 300 es 
> > 
>
> It seems like the OpenGL ES context at the bottom of the stack is 2.0. No 
> idea what could be going wrong in Emscripten or your execution environment 
> that it could, think it successfully obtained a WebGL 2 context yet 
> apparently it really WebGL 1. 
>
> Regards 
>
>     -Mark

-- 
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.

Reply via email to