浏览代码

Removed Pass names to avoid confusion with LightMode tag (ShaderPassName)

/RenderPassXR_Sandbox
Felipe Lira 7 年前
当前提交
2b50e9a8
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 4
      Assets/ScriptableRenderPipeline/LightweightPipeline/Shaders/LightweightPipeline.shader

4
Assets/ScriptableRenderPipeline/LightweightPipeline/Shaders/LightweightPipeline.shader


// Shader targeted for low end devices. Single Pass Forward Rendering. Shader Model 2
// Shader targeted for low end devices. Single Pass Forward Rendering. Shader Model 2
Shader "ScriptableRenderPipeline/LightweightPipeline/NonPBR"
{

Pass
{
Name "LD_SINGLE_PASS_FORWARD"
Tags { "LightMode" = "LightweightForward" }
// Use same blending / depth states as Standard shader

Pass
{
Name "LD_SHADOW_CASTER"
Tags { "Lightmode" = "ShadowCaster" }
ZWrite On ZTest LEqual

// This pass it not used during regular rendering, only for lightmap baking.
Pass
{
Name "LD_META"
Tags{ "LightMode" = "Meta" }
Cull Off

正在加载...
取消
保存