项目
在 GitHub 查看
Robinseibold/Unity-URP-Outlines
关于
用于屏幕空间描边的自定义渲染器功能
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Outlines
A custom renderer feature for screen space outlines based on Erik Roystan Ross Outline Shader.
for more specific implementation details see YouTube video. Apart from minor adjustments no further improvements has been added.
Usage
- Add files to your project
- Enable depth texture in the Universal Render Pipeline Asset
- Add the 'Screen Space Outlines' renderer feature to the Universal Renderer Data
- Adjust 'Screen Space Outlines' settings
- Go to Project Settings > Graphics and add the 2 new ones (Outlines and ViewSpaceNormals) to the list of Always Included Shaders. This is needed to make sure the shaders are included when building the project for a real device.
Known Issues
- Does not work with objects that utilizes displacement shaders, the normal texture generation does not take the displacement into account
- Does not work with MSAA, the current work around is to use FXAA or SMAA on the camera instead.
Future Plans
I'm continuously expanding on this implementation, below are some things planned for future releases:
- Outline generation anti aliasing
- Varying thickness of outlines based on distance from camera
- Fog affected outlines
- and much more
探索相关项目
加载中…