美文网首页
在Unity中创建辉光效果(post bloom)

在Unity中创建辉光效果(post bloom)

作者: 灭了的灯泡 | 来源:发表于2023-03-30 18:39 被阅读0次

1)在window>package manager中下载并安装post prcessing

2)新建layer"postLayer",选中摄影机,点击Add Component为摄影机添加 "Post-process Layer",设置Volume blending>Layer为"postLayer"

3)在Hierarchy面板中新建post空节点并设置Layer属性为"postLayer",为post节点添加"Post-process Volume"并勾选"Is Global",在Profile项选择或新建一个 post profile,然后点击Add effect 添加Bloom效果,勾选Intensity和color项,调节Intensity值即可看到辉光效果。

注:post profile 文件保存着Bloom项的参数信息,如果两个场景中的辉光设置相同,可以使用同一个post profile 文件

相关文章

网友评论

      本文标题:在Unity中创建辉光效果(post bloom)

      本文链接:https://www.haomeiwen.com/subject/mdjcddtx.html