You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
565 B
29 lines
565 B
#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
|
|
|