Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GL_EXT_draw_buffers not supported #138

Open
MagicPockets-EZ opened this issue Feb 11, 2016 · 1 comment
Open

GL_EXT_draw_buffers not supported #138

MagicPockets-EZ opened this issue Feb 11, 2016 · 1 comment

Comments

@MagicPockets-EZ
Copy link

Hi,
trying to use MRT technic into a webgl game, I see that GL_EXT_draw_buffers is not supported in your inspector and generate an error as soon as I run it and only when I run it.

here is the shader and the error reported:

001 // SHADER_DEFAULT SF_TEX0 SF_SKIN_B1 SF_LOWQ
002 #extension GL_EXT_draw_buffers : require
003 precision mediump float;
004 uniform vec4 u_matColor[5];
005 uniform float u_reflexion;
006 uniform vec4 u_info;
007 uniform sampler2D u_tex0;
008 uniform highp sampler2D u_tex1;
009 uniform sampler2D u_tex2;
010 uniform sampler2D u_tex3;
011 varying lowp vec4 v_color;
012 varying vec4 v_texCoord0;
013 varying vec2 v_texCoord1;
014 vec4 c0, c1, c2;
015 void main()
016 {
017 c0 = texture2D(u_tex0, v_texCoord0.xy);
018 c0 *= v_color;
019 gl_FragData[0] = c0;

020 }

ERROR: 0:2: 'GL_EXT_draw_buffers' : extension is not supported

@MagicPockets-EZ
Copy link
Author

VAO doesn't work too.
This is a shame because it is precisely what I was looking to debugger on my side!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant