beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
AreaDiscardPixel
Ops.Gl.ShaderEffects.AreaDiscardPixel

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Gl.ShaderEffects.AreaDiscardPixel_v2

do not draw pixels inside a defined 3d area

summary (oneliner)

This op will discard pixels within the defined area.
There are multiple modes:
Sphere, Box, Axis X Y or Z, Axis XY or XZ, Axis X Y or Z infinite

doc

issues

youtube id

collections

related ops

Inputs

render (Trigger)

Trigger in


Invert (boolean /Number)

Invert area


Area index (integer /Number)

Area (string /Number)

Sphere, Box, Axis X Y or Z, Axis XY or XZ, Axis X Y or Z infinite


Size

Size (Number)

Size of area


Size X (Number)

Size of the X axis


Size Y (Number)

Size of the Y axis


Size Z (Number)

Size of the Z axis


Repeat (boolean /Number)

Enable repeat mode


Repeat Distance (Number)

Distance between the discarded and non discarded areas


Position

x (Number)

Moves the X axis


y (Number)

Moves the Y axis


z (Number)

Moves the Z axis


WorldSpace (boolean /Number)

Enable to move area around in world space


Outputs

trigger (Trigger)

Trigger out


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
discard pixel example:


Credits


Changelog


added repeat mode and diagonal axis
2019-04-07 - pandur

added box shape
2020-01-28 - andro

scale area per axis
2020-01-28 - andro

Examples using AreaDiscardPixel

Public Patches using AreaDiscardPixel