From d1eb208ecbeba1ab7bf894d9f14d2652739bc63e Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 14 Jan 2026 23:00:42 -0800 Subject: Impostors: integrate into 3ner --- globals.cginc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 10f0556..b1de3d8 100644 --- a/globals.cginc +++ b/globals.cginc @@ -181,6 +181,20 @@ 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; +Texture2D _Impostors_Metallic_Gloss_Atlas; +Texture2D _Impostors_Depth_Atlas; +int _Impostors_Grid_Resolution; +float _Impostors_Sphere_Radius; +float _Impostors_Cutoff; +float _Impostors_Debug_Mode; +float _Impostors_Debug_Depth; +float3 _Impostors_Main_Camera_Pos; +#endif // _IMPOSTORS + #if defined(_VERTEX_DEFORMATION) float _Vertex_Deformation_Slot_0_Enabled; int _Vertex_Deformation_Slot_0_Opcode; -- cgit v1.2.3