Class: Creates new instance of the post effect.

Creates new instance of the post effect.(graphicsDevice)

Implements the SepiaEffect color filter.

Constructor

new Creates new instance of the post effect.(graphicsDevice)

Parameters:
Name Type Description
graphicsDevice pc.GraphicsDevice The graphics device of the application
Properties:
Name Type Description
amount Number Controls the intensity of the effect. Ranges from 0 to 1.
Source:

Extends

  • pc.PostEffect

Creates new instance of the post effect.(graphicsDevice)

Implements the BloomEffect post processing effect

Constructor

new Creates new instance of the post effect.(graphicsDevice)

Parameters:
Name Type Description
graphicsDevice pc.GraphicsDevice The graphics device of the application
Properties:
Name Type Description
bloomThreshold Number Only pixels brighter then this threshold will be processed. Ranges from 0 to 1
blurAmount Number Controls the amount of blurring.
bloomIntensity Number The intensity of the effect.
Source:

Extends

  • pc.PostEffect