프로젝트
GitHub에서 보기
Robinseibold/Unity-URP-Outlines
소개
화면 공간 아웃라인을 위한 커스텀 렌더러 기능
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalOutlines
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
관련 프로젝트 살펴보기
불러오는 중…