Firstborn/Library/PackageCache/com.unity.render-pipelines..../Shaders/Nature/SpeedTree7Input.hlsl

30 lines
565 B
HLSL
Raw Normal View History

2023-03-28 13:24:16 -04:00
#ifndef UNIVERSAL_SPEEDTREE7_INPUT_INCLUDED
#define UNIVERSAL_SPEEDTREE7_INPUT_INCLUDED
#define SPEEDTREE_Y_UP
#ifdef GEOM_TYPE_BRANCH_DETAIL
#define GEOM_TYPE_BRANCH
#endif
#if defined(GEOM_TYPE_FROND) || defined(GEOM_TYPE_LEAF) || defined(GEOM_TYPE_FACING_LEAF)
#define SPEEDTREE_ALPHATEST
half _Cutoff;
#endif
#ifdef SCENESELECTIONPASS
int _ObjectId;
int _PassValue;
#endif
#include "SpeedTree7CommonInput.hlsl"
#ifdef GEOM_TYPE_BRANCH_DETAIL
sampler2D _DetailTex;
#endif
#define _Surface 0.0 // Speed Trees are always opaque
#endif