项目介绍

phi-lira/UniversalShaderExamples 是一个托管在 GitHub 上的开源项目,主要使用 ShaderLab 编写,目前获得 839 个 Star、130 次 Fork。

仓库全名
phi-lira/UniversalShaderExamples
Star 数
839
Fork 数
130
未关闭 Issue
1

README 摘要

Universal Shader Examples This project contains a collection of shader examples for Universal Render Pipeline. Requisites: Unity 2019.3.9f1 or later UniversalRP 7.3.1 or later You need git-lfs to download the large asset files. Most Git client UI comes with support to git-lfs. How to use this examples Clone the repository. You must have git-lfs enabled. Load in Unity. Examples are located in ExampleScenes folder…

完整内容见 GitHub 原始 README 或本页 。

常见问题

UniversalShaderExamples 用什么语言开发?

主要使用 ShaderLab 编写,目前有 839 个 Star。

如何获取 UniversalShaderExamples 的源码?

可以直接克隆仓库:git clone https://github.com/phi-lira/UniversalShaderExamples.git,默认分支为 master;安装与运行步骤见仓库 README。

UniversalShaderExamples 最近还在维护吗?

仓库最近一次更新为 2020年12月9日,当前有 1 个未关闭 Issue;Star 数为 839,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Sand box project containing example shaders and assets compatible with Unity Universal Render Pipeline.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1117
价值分
544
活跃状态
活跃

语言占比

C#
HLSL
ShaderLab

贡献者

README

Universal Shader Examples

This project contains a collection of shader examples for Universal Render Pipeline.
Requisites:
  • Unity 2019.3.9f1 or later
  • UniversalRP 7.3.1 or later
  • You need git-lfs to download the large asset files. Most Git client UI comes with support to git-lfs.
How to use this examples
  • Clone the repository. You must have git-lfs enabled.
  • Load in Unity.
  • Examples are located in _ExampleScenes folder. Each scene contains a different example bundled with shaders and materials.

Examples in this project

Unlit Examples

All unlit shader examples except the first one support realtime shadows (cast and receive).

01 UnlitTexture

Basic “hello world” shader. UnlitTexture

02 UnlitTexture + Realtime Shadows

Unlit with support for receiving and casting realtime shadows. UnlitTextureShadows

03 Matcap

Matcap with support of per-pixel normals. Matcap

04 Screen Space UV

Screen space uv texture mapping. SceenSpaceUV

Lit Examples

50 Baked Lighting Only

No direct lighting. Global Illumination (skylight + SH and Lightamps) + realtime shadows. UnlitTexture

51 Lit Physically Based

Physically Based Lit shader supporting metallic workflow. LitPhysicallyBased

52 Cleat Coat Physically Based

Cleat Coat Physically Based evaluates a second BDRF for thin coat layer. LitPhysicallyBased

From left to right: car flakes, carbon filter, lacquered wood.

Top spheres are without the coat layer, using the standard Lit Physically Based shader.

Bottom spheres are with the Clear Coat Physically Based shader.

Resources

评论

暂无评论