blob: 12e86c87d164a6e21f47d8d187360412ba58bed5 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#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;
int _Mode; // opaque, cutout, transparent, etc.
texture2D _MainTex;
float4 _MainTex_ST;
float4 _Color;
texture2D _BumpMap;
float4 _BumpMap_ST;
float _BumpScale;
texture2D _MetallicGlossMap;
float4 _MetallicGlossMap_ST;
float _Glossiness;
float _Metallic;
float _Specular_AA_Variance;
float _Specular_AA_Threshold;
float _BRDF_Specular_Min_Denom;
#if defined(_MARBLE)
texture2D _Marble_U_Ramp;
texture2D _Marble_V_Ramp;
texture2D _Marble_W_Ramp;
float3 _Marble_Scale;
float _Marble_Octaves;
float _Marble_Strength;
#endif // _MARBLE
#if defined(_TESSELLATION)
float _Tessellation_Factor;
float _Tessellation_Frustum_Culling_Bias;
float _Tessellation_Falloff_Factor;
#endif // _TESSELLATION
#if defined(_CLEARCOAT)
float _Clearcoat_Strength;
float _Clearcoat_Roughness;
#endif // _CLEARCOAT
#endif // __GLOBALS_INC
|