Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

为什么ToneCurve使用的是GLES20.GL_TEXTURE_2D? #7

Open
woniu0936 opened this issue Aug 1, 2016 · 1 comment
Open

为什么ToneCurve使用的是GLES20.GL_TEXTURE_2D? #7

woniu0936 opened this issue Aug 1, 2016 · 1 comment

Comments

@woniu0936
Copy link

为什么ToneCurve使用的是GLES20.GL_TEXTURE_2D,而不是GLES11Ext.GL_TEXTURE_EXTERNAL_OES,你的说明里面说的是用的GLES11Ext.GL_TEXTURE_EXTERNAL_OES

@woniu0936
Copy link
Author

你的CameraFilterToneCurve.java中有这段代码GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mToneCurveTextureId);但是你的fragment_shader_ext_tone_curve.glsl中使用的是uniform samplerExternalOES uTexture;而不是uniform sampler2D uTexture;有点不明白了

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

No branches or pull requests

1 participant