Volume
安装後期处理栈插件到您的项目後,您需要新增一个Post-Process Volume元件到您的画面。Post-Process Volume将决定在这新建的空间(Volume) 中可以使用的特效。
首先Create一个新的Game Object并加上Post-Process Volume元件。然後勾选「Is Global」来确保这个Volume的特效能在整个画面全域性使用。
此外,Volume需要一个独立的layer才能正确运作。在Game Object里点「Layer」键,然後「Add Layer」。选一个空白的layer再输入「Post Processing」来创建一个新的layer进行後期处理。新增layer後,别忘记回到Game Object点选「Post Processing」layer。
Camera
现在画面上已经有一个 Post Process Volume,再来我们需要确保那些效果都应用到相机上。
选择您希望那些效果应用到的相机,再为它新增一个Post-Process Layer元件。之後,在「Layer」一栏,点选「Post Processing」layer。这样就可以确保正在使用对的volume了。
Profile
最後,我们来选择想要的效果了。这样就需要一个Post Process Profile。回到Post Process Volume的元件,在「Assets/Open World Nature/Common/PostProcessing Profile」的文件夹里,点选「PBR Neutral」profile,这样我们设定好特效的profile就可以直接使用了!