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

相机可以和scene解耦吗 #3

Open
cnywt opened this issue Mar 14, 2023 · 1 comment
Open

相机可以和scene解耦吗 #3

cnywt opened this issue Mar 14, 2023 · 1 comment

Comments

@cnywt
Copy link

cnywt commented Mar 14, 2023

说在前面,我没看源码,也没使用,只是看了readme的代码,感觉scene去绑定一个相机这种设计不合理,因为同一个场景不同的相机渲染是一个很普遍的操作

@ruofeng618
Copy link
Collaborator

说在前面,我没看源码,也没使用,只是看了readme的代码,感觉scene去绑定一个相机这种设计不合理,因为同一个场景不同的相机渲染是一个很普遍的操作

目前scene里面相机主要做视锥提出所用,默认也为渲染相机,如果需要对视锥剔除后Meshs,GEngine提供了pass扩展类支持自定义相机渲染,目前接口还没放开,后面放开会更方便一些。

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

2 participants