Class SceneCubemapFog
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
Scene node representing cubemap-based volumetric fog.
public class SceneCubemapFog : SceneNodeInheritance
object ← SceneNode ← SceneCubemapFog
Inherited Members
SceneNode.Transform, SceneNode.LayerName, SceneNode.LayerEnabled, SceneNode.BoundingBox, SceneNode.LocalBoundingBox, SceneNode.Name, SceneNode.Id, SceneNode.IsSelected, SceneNode.Flags, SceneNode.Scene, SceneNode.EnvMaps, SceneNode.ShaderEnvMapVisibility, SceneNode.LightingOrigin, SceneNode.OverlayRenderOrder, SceneNode.CubeMapPrecomputedHandshake, SceneNode.LightProbeVolumePrecomputedHandshake, SceneNode.LightProbeBinding, SceneNode.EntityData, SceneNode.Update(Scene.UpdateContext), SceneNode.Render(Scene.RenderContext), SceneNode.GetSupportedRenderModes(), SceneNode.SetRenderMode(string), SceneNode.Delete(), SceneNode.GetCameraDistance(Camera)
Constructors
SceneCubemapFog(Scene)
Scene node representing cubemap-based volumetric fog.
public SceneCubemapFog(Scene scene)Parameters
scene Scene
Properties
CubemapFogTexture
Gets or sets the cubemap texture used for fog color sampling.
public RenderTexture? CubemapFogTexture { get; set; }Property Value
EndDist
Gets or sets the distance at which fog reaches full density.
public float EndDist { get; set; }Property Value
ExposureBias
Gets or sets the exposure bias applied to the fog color.
public float ExposureBias { get; set; }Property Value
FalloffExponent
Gets or sets the exponent controlling the fog density falloff curve.
public float FalloffExponent { get; set; }Property Value
HeightEnd
Gets or sets the world-space height at which height fog reaches full density.
public float HeightEnd { get; set; }Property Value
HeightExponent
Gets or sets the exponent controlling the height fog falloff curve.
public float HeightExponent { get; set; }Property Value
HeightStart
Gets or sets the world-space height at which height fog begins.
public float HeightStart { get; set; }Property Value
LodBias
Gets or sets the mip LOD bias applied when sampling the cubemap fog texture.
public float LodBias { get; set; }Property Value
Opacity
Gets or sets the overall opacity of the fog.
public float Opacity { get; set; }Property Value
StartDist
Gets or sets the distance at which fog begins.
public float StartDist { get; set; }Property Value
UseHeightFog
Gets or sets whether height-based fog is enabled.
public bool UseHeightFog { get; set; }Property Value
Methods
CullingParams_Opacity()
Returns a encoding the distance culling squared, height culling, linear exposure, and opacity for shader use.
public Vector4 CullingParams_Opacity()Returns
Height_OffsetScaleExponentLog2Mip()
Returns a encoding the height fog offset, scale, exponent, and log2 mip level for shader use.
public Vector4 Height_OffsetScaleExponentLog2Mip()Returns
OffsetScaleBiasExponent()
Returns a encoding the distance fog offset, scale, LOD bias, and falloff exponent for shader use.
public Vector4 OffsetScaleBiasExponent()
