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

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_v3

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 (Trigger)

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


Vertex Colors (boolean / Number)

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 (Trigger)

Trigger out


shader (Object)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
pointmaterial example:


video tutorial:

Credits


Changelog


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

Examples using PointMaterial

Public Patches using PointMaterial