You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: