Struct BarnLightCullVolume ​
Namespace: ValveResourceFormat.Renderer.Buffers
Assembly: Renderer.dll
Everything one barn light face is culled by, in world space. The shader lights a fragment only where all three agree, so the item built from them is their intersection.
csharp
public readonly struct BarnLightCullVolumeProperties ​
FrustumToWorld ​
Gets the map from the face's clip cube, x and y in [-1,1] and z in [0,1], to world space.
csharp
public Matrix4x4 FrustumToWorld { get; init; }Property Value ​
ObbToWorld ​
Gets the map from the cube [-1,1]^3 to the illumination OBB, or default when there is none.
csharp
public Matrix4x4 ObbToWorld { get; init; }Property Value ​
RangeSphere ​
Gets the fade out sphere, centre in xyz and radius in w. Radius 0 means no distance cutoff.
csharp
public Vector4 RangeSphere { get; init; }
