Crt

class Crt(val intensity: Float = 1.0f) : EffectSpec(source)

Makes the frame look like it is showing on a CRT.

The picture bows out on a curved tube with black past its edge, scanlines and a phosphor mask run over it, and the corners fall off. The scanlines and the mask are the average over each pixel, so a smaller preview draws the same picture at its own size. Nothing reads the clock, so a seek changes nothing.

The effect runs over the fill and under any overlay at the same scope, so a caption added next to it stays clean. A clip overlay under a composition Crt is part of the clip's frame by then, and takes the look with it.

An HDR source tone maps to SDR first. HdrMode.Auto reports that as a concession naming this effect, and HdrMode.KeepHdr is refused.

Register the renderer with filters() on the builder. Without it plan refuses the effect by name.

Throws

when intensity is outside 0f..1f.

Constructors

Link copied to clipboard
constructor(intensity: Float = 1.0f)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val beneathOverlays: Boolean
Link copied to clipboard
open override val id: String
Link copied to clipboard

How strong the look is, from 0f which changes nothing to 1f.

Link copied to clipboard
open override val isInert: Boolean
Link copied to clipboard
open override val requiresSdr: Boolean
Link copied to clipboard
open val scope: EffectScope
Link copied to clipboard
open override val stage: EffectStage