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

如何让VAP渲染视频到SCNNode #389

Open
linconz opened this issue Dec 18, 2024 · 0 comments
Open

如何让VAP渲染视频到SCNNode #389

linconz opened this issue Dec 18, 2024 · 0 comments

Comments

@linconz
Copy link

linconz commented Dec 18, 2024

想在SCNView中实现渲染VAP的视频到一个SCNNode的材质上,有办法实现吗?
目前的方式是先给一个UIView,让VAP在UIView上进行渲染,然后在SCNView刷新时去给UIView截图,再生成SCNMaterial
但是这样太耗性能了,不知道有什么办法可以跳过UIView,直接渲染

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

No branches or pull requests

1 participant