Postfx (Cmd)

From Doomsday Wiki
Jump to: navigation, search

Summary

Set or clear the frame post-processing shader.

Description

Usage

postfx console shader [ time ]

Every player has their own frame post-processing effects. The first argument specifies which player will be affected.

The frame post-processing shader is changed to "fx.post. shader ". If time is specified, and there is no shader currently in use, the new shader is faded in in time seconds. Otherwise the new shader is taken immediately into use.

As a special case, if shader is "none", the post-processing shader is faded out and removed.

Another special case is when shader is "opacity". This will set the opacity of the effect to the value of time. However, hote that the shader does not necessarily implement opacity as simple alpha blending.

Examples

Fade in the "fx.post.monochrome" shader for player 0 in 2 seconds:

postfx 0 monochrome 2