From d72dcf5b24843d103464625606ebf548d4a95a4d Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 12 Dec 2020 17:10:48 +0100 Subject: [PATCH] Document that SpatialMaterial doesn't support depth mapping + triplanar See #44322. --- doc/classes/SpatialMaterial.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/SpatialMaterial.xml b/doc/classes/SpatialMaterial.xml index ce57d4df3f..ecea5f5b42 100644 --- a/doc/classes/SpatialMaterial.xml +++ b/doc/classes/SpatialMaterial.xml @@ -119,6 +119,7 @@ If [code]true[/code], depth mapping is enabled (also called "parallax mapping" or "height mapping"). See also [member normal_enabled]. + [b]Note:[/b] Depth mapping is not supported if triplanar mapping is used on the same material. The value of [member depth_enabled] will be ignored if [member uv1_triplanar] is enabled. If [code]true[/code], direction of the binormal is flipped before using in the depth effect. This may be necessary if you have encoded your binormals in a way that is conflicting with the depth effect.