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

PointMaterial
op id:f86a4a07-00ee-4f68-8839-e02d51d1cd2f
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.

doc

issues

youtube id

collections

related ops

Inputs

render (Function)

Trigger the op


Size

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


Color

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


Texture

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


Outputs

trigger (Function)

Trigger out


shader (Object)

pointmaterial example:


video tutorial:

Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using PointMaterial

Public Patches using PointMaterial