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

PointMaterial_v2 Op

Ops.Gl.Shader.PointMaterial_v2


PointMaterial
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.



doc

issues

example patch id

youtube id

caniuse query

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)

This texture will be rendered on every single point


Texture Mask (Object)

A texture plugged in here will be used as a for mask points


Mask Channel index (integer /Number)

Texture

Mask Channel (String)

Texture Colorize (Object)

A texture plugged into here will color each point based upon the texture


Colorize Randomize (boolean /Number)

Enable to randomize color on the texture colorize input


Flip Texture (boolean /Number)

Outputs

trigger (Trigger)

Trigger out


shader (Object)

Shader out


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

pointmaterial example

Open Example In Editor


Patches using PointMaterial_v2

Changelog


Ops.User.pandur.PointMat2 renamed to Ops.Gl.Shader.PointMaterial_v2
2020-04-23 - pandur