SleeplessOwl0102 / URP-Custom-Post-Processing

A framework that intends to quickly extend volume post-processing in Unity URP. And some experimental custom post-processing implement.
HomePage
MIT License
100 stars 13 forks source link

About upgrade to Unity6, Use Renderer Graph API #3

Open wangbenchong opened 2 months ago

wangbenchong commented 2 months ago

支持Unity6默认开启 RenderGraph的话,还要对pass脚本做些修改。一点建议:我的做法是在Volume基类自己封一个Blit方法,给各个子类调用,并且shader需要微调一下,添加Blit.hlsl引用,替换_PostSource为_BlitTexture等等。

SleeplessOwl0102 commented 2 months ago

谢谢建议,会再研究一下renderGraph的写法和做相关适配

wangbenchong commented 2 months ago

https://gitee.com/wangbenchong/urp-custom-processing 这有一份我改好的,往里面添加了两个模糊效果,现在就是用RenderGraph的时候降采样还没弄清楚怎么写。欢迎帮忙看看。