Vixen
dd8b0a81
csharp
public record class LightStreakAsset

The anamorphic light streak — the one smear bloom cannot make, because bloom is round.

Read the guide page for this →

Remarks

Not bloom with a direction. Bloom is isotropic because the scatter it models is. A streak comes from an aperture that is not round: an anamorphic lens squeezes a wide image onto a normal frame with a cylindrical element, so what diffracts inside it is stretched along one axis. No radius of an isotropic blur is that shape.

⚠ Before the tonemap, beside LensFlareAsset. A streak is light arriving at the sensor and has to be able to blow out; after the curve it is a wash.

⚠ Threshold is in the source's units. In a physically lit frame that is cd/m² and nothing is near one, so the default of one streaks the floor — the same argument !Bloom's threshold makes, and the same failure if it is left alone.

Fields and properties (13)

  • public string Name

    The node's name, for debug groups and for a human reading the file.

  • public bool Enabled

    Whether the node runs.

  • public string Source

    The linear HDR colour the streak is built from and added onto.

  • public string Output

    The name the result is published under.

  • public PixelFormat Format

    The format of the targets it declares.

  • public float Scale

    The fraction of the frame the streak is built at.

  • public float Threshold

    Luminance above which a pixel streaks, in the source's units.

  • public int BlurPasses

    How many blur passes run, each reaching further than the last.

  • public int Samples

    How many taps each side of the centre one blur pass takes.

  • public Vector2 Direction

    The axis the smear runs along, in UV.

  • public float Attenuation

    How fast a tap fades per texel of separation. Below one, or the streak never ends.

  • public float Intensity

    How bright the finished streak is added back.

  • public Vector3 Tint

    A tint on the streak, for the blue a coated anamorphic element is known for.

Used by (5)

  • PostEffectFactoryVixen.Rendering.PostFx
  • StandardFrameVixen.Rendering.PostFx
  • StandardFrameTestsVixen.Rendering.PostFx.Tests
  • TypeRegistrationVixen.Rendering.PostFx
  • Vixen_Rendering_PostFx_LightStreakAssetSerializerVixen.Rendering.PostFx