Unity景深效果

Unity景深效果

  1. window packagemanager postprocessing install
  2. project面板右键创建post-processing profile
  3. 主相机设置layer 比如layerA
  4. 主相机添加组件 post-process layer 里面设置layer为layerA
    主相机添加 post-process volume
  5. 2创建的文件拖到volume上的 profile
  6. volume 勾选 is global,下面add effect unity depth of field
    第一个参数,相机到模型的距离
    其他参数拖动一下看看效果
    Unity景深效果

猜你喜欢

转载自blog.csdn.net/AWNUXCVBN/article/details/126982502
今日推荐