summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'globals.cginc')
-rwxr-xr-xglobals.cginc25
1 files changed, 8 insertions, 17 deletions
diff --git a/globals.cginc b/globals.cginc
index 00dd279..2f4dc1e 100755
--- a/globals.cginc
+++ b/globals.cginc
@@ -32,6 +32,14 @@ float _Specular_AA_Variance;
float _Specular_AA_Threshold;
float _BRDF_Specular_Min_Denom;
+#if defined(_EMISSIONS)
+texture2D _EmissionMap;
+float4 _EmissionMap_ST;
+texture2D _EmissionMask;
+float4 _EmissionMask_ST;
+float3 _EmissionColor;
+#endif // _EMISSIONS
+
#if defined(_OUTLINES)
float4 _Outlines_Color;
float _Outlines_Width;
@@ -231,23 +239,6 @@ float _Parallax_Heightmap_Bias;
float _Parallax_Heightmap_Ray_Marching_Steps;
#endif // _PARALLAX_HEIGHTMAP_RAY_MARCHING
-#if defined(_IMPOSTORS)
-Texture2D _Impostors_Atlas;
-float4 _Impostors_Atlas_TexelSize;
-Texture2D _Impostors_Normal_Atlas;
-// R=metallic, G=gloss, B=depth
-Texture2D _Impostors_Metallic_Gloss_Depth_Atlas;
-int _Impostors_Grid_Resolution;
-float _Impostors_Sphere_Radius;
-float _Impostors_Near_Clip;
-float _Impostors_Far_Clip;
-float _Impostors_Cutoff;
-float _Impostors_Parallax;
-float _Impostors_Debug_Mode;
-float _Impostors_Debug_Depth;
-float3 _Impostors_Main_Camera_Pos;
-#endif // _IMPOSTORS
-
#define MATCAP_MODE_REPLACE 0
#define MATCAP_MODE_ADD 1
#define MATCAP_MODE_MULTIPLY 2