API Referenceglobal
public sealed struct Sandbox.BasePostProcess.BlitMode
Related Guides
Broader workflow and conceptual references connected to this API.
Creating PostProcesses
To make a post process shader you should derive from BasePostProcess<T>. This makes it easier to make a component that will be able to blend from multiple others.
FilmGrain
The FilmGrain component adds simulated film-style grain to the camera output. It's purely visual โ it does not affect gameplay or lighting โ and is intended to add texture, grit or stylistic noise to the final image.
Methods
Showing 2 methods
public static Sandbox.BasePostProcess.BlitMode Simple(Sandbox.Material m, Sandbox.Rendering.Stage stage, int order = 0)
Shortcut to build a simple blit mode
Parameters
order: Default: 0
public static Sandbox.BasePostProcess.BlitMode WithBackbuffer(Sandbox.Material m, Sandbox.Rendering.Stage stage, int order = 0, bool mip = False)
Shortcut to build a blit mode that copies the backbuffer first
Parameters
order: Default: 0mip: Default: False
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.BasePostProcess.BlitMode |