From e5d7c7d5fcd40c1516ef3276ce2ff3d2c10ecc8a Mon Sep 17 00:00:00 2001 From: Marios Staikopoulos Date: Mon, 13 Jul 2020 01:27:01 -0700 Subject: Alpha Hash and Alpha2Coverage Implementation --- doc/classes/BaseMaterial3D.xml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/classes/BaseMaterial3D.xml b/doc/classes/BaseMaterial3D.xml index 8c92975b9c..31e6ea5e54 100644 --- a/doc/classes/BaseMaterial3D.xml +++ b/doc/classes/BaseMaterial3D.xml @@ -81,6 +81,15 @@ Texture to multiply by [member albedo_color]. Used for basic texturing of objects. + + Threshold at which antialiasing will by applied on the alpha channel. + + + The type of alpha antialiasing to apply. See [enum AlphaAntiAliasing]. + + + The hashing scale for Alpha Hash. Recommended values between [code]0[/code] and [code]2[/code]. + Threshold at which the alpha scissor will discard values. @@ -486,10 +495,13 @@ The material will cut off all values below a threshold, the rest will remain opaque. - + + The material will cut off all values below a spatially-deterministic threshold, the rest will remain opaque. + + The material will use the texture's alpha value for transparency, but will still be rendered in the pre-pass. - + Represents the size of the [enum Transparency] enum. @@ -555,6 +567,15 @@ The color of the object is multiplied by the background. + + Disables Alpha AntiAliasing for the material. + + + Enables AlphaToCoverage. Alpha values in the material are passed to the AntiAliasing sample mask. + + + Enables AlphaToCoverage and forces all non-zero alpha values to [code]1[/code]. Alpha values in the material are passed to the AntiAliasing sample mask. + Default depth draw mode. Depth is drawn only for opaque objects. -- cgit v1.2.3