Sets a Shader filter.
Adds or Changes a Shader Filter on an OBS Input.
This requires that the OBS Shader Filter is installed.
Show-OBS -Uri https://pssvg.start-automating.com/Examples/Stars.svg |
Set-OBSShaderFilter -FilterName "Shader" -ShaderFile fisheye-xy -ShaderSetting @{
center_x_percent=30
center_y_percent=70
}
The text of the shader
Type | Required | Position | PipelineInput |
---|---|---|---|
[String] |
false | 1 | true (ByPropertyName) |
The file path to the shader, or the short file name of the shader.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String] |
false | 2 | true (ByPropertyName) | ShaderName |
Any other settings for the shader.
To see what the name of a shader setting is, change it in the user interface and then get the input’s filters.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[PSObject] |
false | 3 | true (ByPropertyName) | ShaderSettings |
If set, will remove a filter if one already exists.
If this is not provided and the filter already exists, the settings of the filter will be changed.
Type | Required | Position | PipelineInput |
---|---|---|---|
[Switch] |
false | named | false |
Set-OBSShaderFilter [[-ShaderText] <String>] [[-ShaderFile] <String>] [[-ShaderSetting] <PSObject>] [-Force] [<CommonParameters>]