Ensure shadow material and mesh are not used with wireframe mode

And in the Compatibility renderer actually use the wireframe render mode
This commit is contained in:
clayjohn 2024-10-30 17:04:02 -07:00
parent cb411fa960
commit 90b4b48b5a
5 changed files with 8 additions and 5 deletions

View file

@ -555,6 +555,7 @@
</constant>
<constant name="DEBUG_DRAW_WIREFRAME" value="4" enum="DebugDraw">
Objects are displayed as wireframe models.
[b]Note:[/b] [method RenderingServer.set_debug_generate_wireframes] must be called before loading any meshes for wireframes to be visible when using the Compatibility renderer.
</constant>
<constant name="DEBUG_DRAW_NORMAL_BUFFER" value="5" enum="DebugDraw">
Objects are displayed without lighting information and their textures replaced by normal mapping.