summaryrefslogtreecommitdiffstats
path: root/globals.cginc
blob: fefeb46204cf6309787314eb04827dad98d0081e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __GLOBALS_INC
#define __GLOBALS_INC

#include "features.cginc"

SamplerState point_repeat_s;
SamplerState linear_repeat_s;
SamplerState bilinear_repeat_s;
SamplerState linear_clamp_s;
SamplerState trilinear_repeat_s;

float4 _Color;
int _Mode;

float _Smoothness;
float _Metallic;

float _Specular_AA_Variance;
float _Specular_AA_Threshold;
float _BRDF_Specular_Min_Denom;

#if defined(_TESSELLATION)
float _Tessellation_Factor;
float _Tessellation_Frustum_Culling_Bias;
float _Tessellation_Falloff_Factor;
#endif  // _TESSELLATION


#endif  // __GLOBALS_INC