how to use samplerExternalOES texture in fragment shader? #3237
Unanswered
zhaochunhe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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