Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EGLRender texture position use FboTexCoors #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndroidHot
Copy link

NDK OpenGL ES 3.0 开发(五):FBO 离屏渲染中讲到,使用 FBO 进行离屏渲染时,采样时纹理的原点位于屏幕左下角。
那么在 EGLRender 的例子中,使用 FBO 离屏渲染时,直接使用 vFboTexCoors 对纹理进行采样,在 APP 中也不需要再对 buffer 进行镜像操作。

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

Successfully merging this pull request may close these issues.

1 participant