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
I have one external OES texture, and want to pass to fragment shader, then draw it. but the fragment shader file occur error when building. The code is following.
/////////////////////////////////////
$input v_texcoord0
/*
Copyright 2011-2021 Branimir Karadzic. All rights reserved.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have one external OES texture, and want to pass to fragment shader, then draw it. but the fragment shader file occur error when building. The code is following.
/////////////////////////////////////
$input v_texcoord0
/*
*/
#include "/usr/local/include/bgfx/bgfx_shader.sh"
SAMPLEREXTERNALOES(s_texColor, 0);
void main()
{
}
Beta Was this translation helpful? Give feedback.
All reactions