Skip to content

Prism Brush

Lachlan McDonald edited this page May 11, 2022 · 17 revisions

The prism primitive brush generates a prism; pyramid or tetrahedron with straight or curved angles.

Parameters

Parameter Description
Mode Mode (see below)
Size X Size of the incline on the X-axis (the step)
Size Y Size of the incline on the Y-axis (the step)
  • Setting both a Size X and Size Y will result in a tetrahedron (or pyryamid)
  • Setting either Size X or Size Y to 0 and the other greater than 0 will result in a prism.
  • Setting both to 0 will result in a cube.

Modes

Example of a 'Mode' value of 0 Example of a 'Mode' value of 1
Mode: 0 Mode: 1
Linear interpolation (straight edge) Sine interpolation (curved edge)

Mode: 0

Example of mode of 0 and size 8 Example of mode of 0 and size 16
Size: 8 Size: 16
Example of mode of 0 and size 20 Example of mode of 0 and size 32
Size: 20 Size: 32

Mode: 1

Example of mode of 0 and size 8 Example of mode of 0 and size 16
Size: 8 Size: 16
Example of mode of 0 and size 20 Example of mode of 0 and size 32
Size: 20 Size: 32

Examples

Download

View the shaders below or download the latest release:

Clone this wiki locally