# engineRemovePostProcess (Client)

> Turns off a post process this resource turned on with `engineAddPostProcess`.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Materials and shaders
- **URL**: https://wiki.mymp.gg/en/engineRemovePostProcess

## Syntax

```lua
bool engineRemovePostProcess(material material)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `material` | `material` | The material that was turned on. |

## Returns

`true` if this resource had it on, `false` if not.

## Example

```lua
local vignette = engineCreateMaterial(engineCreateShader("shaders/vignette.shader"))
engineAddPostProcess(vignette)

addCommandHandler("vignette", function()
    engineRemovePostProcess(vignette)
end)
```

## See also

- [engineAddPostProcess (Client)](https://wiki.mymp.gg/en/engineAddPostProcess.md): Turns on a post process on the screen: a material whose shader is #type post.
