10

有趣的阅读 - 使用Unity的ShaderGraph和URP实现PSX复古图形

 3 years ago
source link: https://zhuanlan.zhihu.com/p/159005921
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

有趣的阅读 - 使用Unity的ShaderGraph和URP实现PSX复古图形

计算机图形学话题下的优秀回答者

这个项目的作者在Unity中使用ShaderGraph以及Unity的通用渲染管线(URP)实现了Playstation 1 时代的复古图形。

该项目的目的是使用Unity的新渲染管线来创建NPR(非照片级)的PSX风格的复古图形,其中以ShaderGraph实现材质,而URP的Render Features则被用来实现后期处理效果。

v2-bde542012a16f8eefccb82bb825d2c64_b.jpg
v2-2c2ddf3700edd17d012dbd64c7f2dba6_b.jpg

工程分为以下几个部分

Shadergraph:

  • Lit/Unlit shader variants
  • Specular Lit variant
  • Camera-based vertex clipping
  • Vertex snapping/Jittering
  • Texture Pixelation for crushing texture resolution
  • Color Precision for lower or higher color Fidelity

URP Render Features:

  • Screen-space fog
  • Screen-space pixelation/color precision adjustments
  • Screen-space dithering

同时,作者使用的版本如下:

Unity 2019.3.7f1

Universal Rendering Pipeline/Shadergraph (7.1.8)

项目仓库链接:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK