这里使用Built-in Render Pipeline, 且已经安装 Post-Processing Version 2 包。Unity 版本: 2019.4.15f1

1、创建一个全局GameObject(取名为GlobalPost),对这个对象添加一个 Post Processing Volume (注意勾选Is Global)

2、Edit > Project Settings > Tags and Layers 在其中添加一个layer,取名为PostProcess

3、将这个PostProcess layer设定为刚刚创建的GlobalPost的layer

unity中对于某个相机应用post processing的方法(全局效果)

 

 4、将这个PostProcess layer设定为摄像机的layer, 并为摄像机添加一个 Post-process layer 组件,将这个组件的layer也设置为PostProcess 

unity中对于某个相机应用post processing的方法(全局效果)

 

 5、在Assets中添加一个Post-processing profile,将其设为GlobalPost的Profile

unity中对于某个相机应用post processing的方法(全局效果)

 

 6、这时只需调整 PostProcessCenterCam 中的参数,就可以对全局的Post process 进行调整:

unity中对于某个相机应用post processing的方法(全局效果)unity中对于某个相机应用post processing的方法(全局效果)

 

 

 参考:

https://www.youtube.com/watch?v=1w9p-CrZYCU&ab_channel=Unity

视频中10分到13分钟处

 

相关文章:

  • 2022-01-31
  • 2021-11-23
  • 2022-12-23
  • 2021-10-29
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-13
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-09-11
  • 2021-11-06
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案