Documentation
¶
Overview ¶
Package crt renders a screen-space CRT monitor effect.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DisableCRT = internal.LoadSettings().DisableCRT
DisableCRT bypasses the CRT effect.
Functions ¶
This section is empty.
Types ¶
type CRT ¶
type CRT struct { NoiseX float32 Offset [2]float32 RGBNoise float32 SineNoiseWidth float32 SineNoiseScale float32 SineNoiseOffset float32 ScanLineTail float32 ScanLineSpeed float32 ScreenSize float32 Darkening float32 ScanLineDarker float32 ScanLineDarker2 float32 FadeOut float32 UseTime bool }
CRT is a screen-space graphical filter.
func (*CRT) SetDefaults ¶
func (c *CRT) SetDefaults()
SetDefaults sets the CRT settings to their default values.
Click to show internal directories.
Click to hide internal directories.