summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-08 11:58:43 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-08 11:58:43 +0100
commitf5e2529584881a92d28c0feea52db192ece2d94a (patch)
tree11a684327c352a313f1776ec09b8075abdabe415
parent01f8ce6e3d2f159d1045337a0a62bd52861af596 (diff)
parent52d062560b11bf3e3ddda5d5f2d24ec9b9b9cfdd (diff)
downloadredot-engine-f5e2529584881a92d28c0feea52db192ece2d94a.tar.gz
Merge pull request #86848 from Mickeon/documentation-canvas-texture-note
Specify how CanvasTexture does not work in 3D
-rw-r--r--doc/classes/CanvasTexture.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/CanvasTexture.xml b/doc/classes/CanvasTexture.xml
index 1b22adb723..a14f71cc46 100644
--- a/doc/classes/CanvasTexture.xml
+++ b/doc/classes/CanvasTexture.xml
@@ -5,7 +5,7 @@
</brief_description>
<description>
[CanvasTexture] is an alternative to [ImageTexture] for 2D rendering. It allows using normal maps and specular maps in any node that inherits from [CanvasItem]. [CanvasTexture] also allows overriding the texture's filter and repeat mode independently of the node's properties (or the project settings).
- [b]Note:[/b] [CanvasTexture] cannot be used in 3D rendering. For physically-based materials in 3D, use [BaseMaterial3D] instead.
+ [b]Note:[/b] [CanvasTexture] cannot be used in 3D. It will not display correctly when applied to any [VisualInstance3D], such as [Sprite3D] or [Decal]. For physically-based materials in 3D, use [BaseMaterial3D] instead.
</description>
<tutorials>
<link title="2D Lights and Shadows">$DOCS_URL/tutorials/2d/2d_lights_and_shadows.html</link>