summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-23 08:03:14 +0100
committerGitHub <noreply@github.com>2020-11-23 08:03:14 +0100
commitf218550c48ef3def0fcdd6bb12c14b89a7105119 (patch)
tree87287e85988ff4c7fcbc0ed743a2cdd5edf73324
parent6bd4074f769b9fd1eb4c4e06bf83a414f9d4ecc7 (diff)
parentb297d595a5b364f3d9cbcf042f265f6a82faf19a (diff)
Merge pull request #43774 from Calinou/doc-overdraw-no-vertex-displacement
Document that vertex displacement isn't visible in overdraw debug mode
-rw-r--r--doc/classes/RenderingServer.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml
index 5830a8452c..22a9925d4b 100644
--- a/doc/classes/RenderingServer.xml
+++ b/doc/classes/RenderingServer.xml
@@ -3365,7 +3365,8 @@
Objects are displayed with only light information.
</constant>
<constant name="VIEWPORT_DEBUG_DRAW_OVERDRAW" value="3" enum="ViewportDebugDraw">
- Objects are displayed semi-transparent with additive blending so you can see where they are drawing over top of one another. A higher overdraw means you are wasting performance on drawing pixels that are being hidden behind others.
+ Objects are displayed semi-transparent with additive blending so you can see where they are drawing over top of one another. A higher overdraw (represented by brighter colors) means you are wasting performance on drawing pixels that are being hidden behind others.
+ [b]Note:[/b] When using this debug draw mode, custom shaders will be ignored. This means vertex displacement won't be visible anymore.
</constant>
<constant name="VIEWPORT_DEBUG_DRAW_WIREFRAME" value="4" enum="ViewportDebugDraw">
Debug draw draws objects in wireframe.