We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在开发MRT,渲染到纹理,后处理等功能时遇到的问题,通过各种render Event做起来代码完全没法看,还总是容易爆出bug
如果能有个重写绘制流程的函数,像URP那样的,然后可以用户自己定制绘制过程,也方便取到中间的FBO,那就非常方便了
The text was updated successfully, but these errors were encountered:
可以参考下游乐场的 MRT 案例:https://galacean.antgroup.com/#/examples/latest/mrt 然后关于你说的render event 是什么,可以提供一下上下文么,我们去调研一下
Sorry, something went wrong.
核心问题就是写类似的案例的时候,只能通过onBeginRender和onEndRender加上反复设置camera.renderTarget=null和各种layer造成的依赖及其容易变得复杂,出了警告之后也很难排查
目前阶段的管线钩子的确只开放了onBeginRender 和 onEndRender,确实灵活程度不高,但是你可以通过这个 Web端管线插件 查看每一帧(包括离屏渲染)的细节,我们也会在1.3以后逐步开放后处理管线和 SRP 在不久的未来。
onBeginRender
onEndRender
后处理管线
No branches or pull requests
在开发MRT,渲染到纹理,后处理等功能时遇到的问题,通过各种render Event做起来代码完全没法看,还总是容易爆出bug
如果能有个重写绘制流程的函数,像URP那样的,然后可以用户自己定制绘制过程,也方便取到中间的FBO,那就非常方便了
The text was updated successfully, but these errors were encountered: