From 0a56a9d7312bc30e9878df949613c36a9574c15b Mon Sep 17 00:00:00 2001 From: skyace65 Date: Mon, 27 Dec 2021 21:43:02 -0500 Subject: [PATCH] Fix and improve cull mode description in material --- doc/classes/BaseMaterial3D.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/classes/BaseMaterial3D.xml b/doc/classes/BaseMaterial3D.xml index aa2ffae48c6..377e8e556ff 100644 --- a/doc/classes/BaseMaterial3D.xml +++ b/doc/classes/BaseMaterial3D.xml @@ -137,7 +137,7 @@ Texture that defines the strength of the clearcoat effect and the glossiness of the clearcoat. Strength is specified in the red channel while glossiness is specified in the green channel. - Which side of the object is not drawn when backfaces are rendered. See [enum CullMode]. + Determines which side of the triangle to cull depending on whether the triangle faces towards or away from the camera. See [enum CullMode]. Determines when depth rendering takes place. See [enum DepthDrawMode]. See also [member transparency]. @@ -579,10 +579,10 @@ No depth draw. - Default cull mode. The back of the object is culled when not visible. + Default cull mode. The back of the object is culled when not visible. Back face triangles will be culled when facing the camera. This results in only the front side of triangles being drawn. For closed-surface meshes this means that only the exterior of the mesh will be visible. - The front of the object is culled when not visible. + Front face triangles will be culled when facing the camera. This results in only the back side of triangles being drawn. For closed-surface meshes this means that the interior of the mesh will be drawn instead of the exterior. No culling is performed.