diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-14 23:00:42 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-14 23:00:42 -0800 |
| commit | d1eb208ecbeba1ab7bf894d9f14d2652739bc63e (patch) | |
| tree | f80778fef335ea69fb1cb8892e908a56be0fef1b /globals.cginc | |
| parent | f0d753b1cfa07079886abe0c3c5fc7ee75b426fd (diff) | |
Impostors: integrate into 3ner
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 14 |
1 files changed, 14 insertions, 0 deletions
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; |
