Struct VolumetricFog.ShadowFace ​
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
One shadow map of a fog light, rendered into a tile of the fog shadow atlas.
csharp
public readonly record struct VolumetricFog.ShadowFace : IEquatable<VolumetricFog.ShadowFace>Implements ​
IEquatable<VolumetricFog.ShadowFace>
Constructors ​
ShadowFace(Vector3, Matrix4x4, ShadowAtlasRegion) ​
One shadow map of a fog light, rendered into a tile of the fog shadow atlas.
csharp
public ShadowFace(Vector3 Eye, Matrix4x4 WorldToProjection, ShadowAtlasRegion Region)Parameters ​
Eye Vector3
Position of the light.
WorldToProjection Matrix4x4
Transform to render the map with, which leaves a gutter around the tile.
Region ShadowAtlasRegion
The tile in the atlas.
Properties ​
Eye ​
Position of the light.
csharp
public Vector3 Eye { get; init; }Property Value ​
Region ​
The tile in the atlas.
csharp
public ShadowAtlasRegion Region { get; init; }Property Value ​
WorldToProjection ​
Transform to render the map with, which leaves a gutter around the tile.
csharp
public Matrix4x4 WorldToProjection { get; init; }
