mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 09:08:22 -05:00
14 lines
455 B
Text
14 lines
455 B
Text
varying mediump vec2 var_mediump;
|
|
varying lowp vec2 var_lowp;
|
|
uniform sampler2D tex_highp;
|
|
uniform sampler2D tex_lowp;
|
|
uniform sampler2D tex_def;
|
|
void main ()
|
|
{
|
|
lowp vec4 c3;
|
|
highp vec4 tmpvar_1;
|
|
tmpvar_1 = (texture2D (tex_highp, var_mediump) * 2.0);
|
|
c3 = tmpvar_1;
|
|
gl_FragColor = (((((texture2D (tex_def, var_lowp) * 2.0) + (texture2D (tex_def, var_mediump) * 2.0)) + c3) + (texture2D (tex_lowp, var_mediump) * 2.0)) + abs (var_lowp.xxxx));
|
|
}
|
|
|