Skip to content

lib.point.draw.DrawPoints2

Thomas Mann edited this page Jan 17, 2024 · 1 revision

DrawPoints2

in lib.point.draw


A new version of [DrawPoints] that uses are Radius parameter instead of Size.

It draws a point buffer with the set camera, transform, and fog. The points are drawn as camera-facing billboards, ignoring the point orientation. The W attribute of the points is used for scaling. This can be controlled with the UseWForSize parameter.

You can connect a texture to override the round shape.

There are many Operators allowing you to create and manipulate point buffers in countless ways. Please have a look at the examples listed below.

For additional effects, you can experiment with different blend modes or disable depth testing. Note, however, that the points are drawn in the order they are defined in the buffer and not sorted by distance to the camera. This can introduce unwanted artifacts with transparent blending.

Although drawing points is fast, drawing very large points can lead to high fill rates and can drastically impact render performance.

Also see: [HowToDrawThings], [HowToUsePoints]


Input Parameters

Name (Relevancy & Type) Description
GPoints (BufferWithViewsRequired) -
Color (Vector4) -
Radius (Single) -
Texture_ (Texture2D) -
EnableZWrite (Boolean) -
EnableZTest (Boolean) -
BlendMode (Int32) -
FadeNearest (Single) -
UseWForSize (Boolean) -

Outputs

Name Type
Output T3.Core.DataTypes.Command

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

Clone this wiki locally