Documentation ¶
Overview ¶
Package crt renders a screen-space CRT monitor effect.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DisableCRT bool
DisableCRT bypasses the CRT effect.
Functions ¶
This section is empty.
Types ¶
type CRT ¶
type CRT struct { NoiseX float64 Offset [2]float64 RGBNoise float64 SineNoiseWidth float64 SineNoiseScale float64 SineNoiseOffset float64 ScanLineTail float64 ScanLineSpeed float64 ScreenSize float64 Darkening float64 ScanLineDarker float64 ScanLineDarker2 float64 FadeOut float64 }
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.