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

PointMaterial Op


Namespace: Ops.Gl.Shader

Op author: pandur

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.Shader.PointMaterial_v4

Draw all vertices as points / circles

summary (oneliner)

Draw all vertices as points / circles. Combine this op with pointCloudFromArray to draw point clouds with a xyz array.



example patch id

youtube id

caniuse query


related ops


render (Trigger)

Trigger the op


PointSize (Number)

The size of each point, distance has no effect unless "scale by distance" is enabled

Random Size (Number)

Causes point size to become more random with higher values

Round (boolean /Number)

Render points as circles , disable to render squares

Scale by Distance (boolean /Number)

Point size is changed with distance to the camera


r (Number)

Red colour component

g (Number)

Green colour component

b (Number)

Blue colour component

a (Number)

Alpha component

preMultiplied alpha (boolean /Number)

Enable pre-multiplied alpha with texture input

Vertex Colors (boolean /Number)


texture (Object)

Texture which is applied to each point

Texture Mask (Object)

Texture mask which is applied to each point

colorizeTexture (boolean /Number)

RGB values are mixed with texture values

texture Lookup (boolean /Number)

Use to give each point a random colour from the texture input


trigger (Trigger)

Trigger out

shader (Object)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

pointmaterial example

Open Example In Editor

Youtube Video Tutorial

Patches using PointMaterial


added support for vertex colors
2019-06-20 - pandur