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

RectangleTexture_v4 Op


Op author: pandur

Test Patches: 3 Tests

Draw a 2D rectangle with controllable parameters

Handy for creating masks and layers.


render (Trigger)

Trigger in


Amount (Number)

Blend amount

Blend Mode index (integer /Number)
Alpha Mask index (integer /Number)
Center (boolean /Number)


Width (Number)

Width of the rectangle

Height (Number)

Height of the rectangle


X (Number)

The x position of the rectangle

Y (Number)

The y position of the rectangle

Rotate (Number)

Rotates the rectangle

roundness (Number)

Softens the 4 corners


r (Number)

Red amount

g (Number)

Green amount

b (Number)

Blue amount

a (Number)

Alpha amount


trigger (Trigger)

Trigger out

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

rect 2d example v3

Patches using RectangleTexture_v4

  • Examples
  • Public
  • My Patches


Ops.User.pandur.Rectangle2d2 renamed to Ops.Gl.TextureEffects.Rectangle_v3
2019-12-04 - pandur
Ops.Gl.TextureEffects.Rectangle_v3 renamed to Ops.Gl.TextureEffects.RectangleTexture_v3
2020-04-20 - pandur
fix bug with alpha rendering
2022-02-08 - pandur
cloned op from Ops.Gl.TextureEffects.RectangleTexture_v3
2022-03-09 - pandur
Ops.User.pandur.RectangleTextureV4 renamed to Ops.Dev.RectangleTextureV4
2022-03-09 - pandur
Ops.Dev.RectangleTextureV4 renamed to Ops.Gl.TextureEffects.RectangleTextureV4
2022-05-09 - pandur
Ops.Gl.TextureEffects.RectangleTextureV4 renamed to Ops.Dev.RectangleTexture_v4
2022-05-09 - pandur
Ops.Dev.RectangleTexture_v4 renamed to Ops.Gl.TextureEffects.RectangleTexture_v4
2022-05-09 - pandur