From f06db8b77871cbb9d5d3c0fe5090a8885bb90efd Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Thu, 27 May 2021 22:17:58 +0300 Subject: Added Billboard Node to Visual Shaders --- doc/classes/VisualShaderNodeBillboard.xml | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 doc/classes/VisualShaderNodeBillboard.xml (limited to 'doc/classes') diff --git a/doc/classes/VisualShaderNodeBillboard.xml b/doc/classes/VisualShaderNodeBillboard.xml new file mode 100644 index 0000000000..53bcfa7b5c --- /dev/null +++ b/doc/classes/VisualShaderNodeBillboard.xml @@ -0,0 +1,38 @@ + + + + A node that controls how the object faces the camera to be used within the visual shader graph. + + + The output port of this node needs to be connected to [code]Model View Matrix[/code] port of [VisualShaderNodeOutput]. + + + + + + + + Controls how the object faces the camera. See [enum BillboardType]. + + + If [code]true[/code], the shader will keep the scale set for the mesh. Otherwise, the scale is lost when billboarding. + + + + + Billboarding is disabled and the node does nothing. + + + A standard billboarding algorithm is enabled. + + + A billboarding algorithm to rotate around Y-axis is enabled. + + + A billboarding algorithm designed to use on particles is enabled. + + + Represents the size of the [enum BillboardType] enum. + + + -- cgit v1.2.3