[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. It will not display correctly when applied to any [VisualInstance3D], such as [Sprite3D] or [Decal]. For physically-based materials in 3D, use [BaseMaterial3D] instead.
[CanvasTexture] 是用於 2D 渲染算繪的 [ImageTexture] 的替代品。它允許在任何繼承自 [CanvasItem] 的節點中使用法線貼圖和鏡面貼圖。[CanvasTexture] 還允許獨立於節點的屬性(或專案設定)覆蓋紋理的篩選模式和重複模式。 [b]注意:[/b][CanvasTexture] 不能用於 3D 渲染算繪。對於 3D 中基於物理的材質,請使用 [BaseMaterial3D] 來代替。
[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. It will not display correctly when applied to any [VisualInstance3D], such as [Sprite3D] or [Decal]. For physically-based materials in 3D, use [BaseMaterial3D] instead.
[CanvasTexture] 是用於 2D 渲染的 [ImageTexture] 的替代品。它允許在任何繼承自 [CanvasItem] 的節點中使用法線貼圖和鏡面貼圖。[CanvasTexture] 還允許獨立於節點的屬性(或專案設定)覆蓋紋理的篩選模式和重複模式。 [b]注意:[/b][CanvasTexture] 不能用於 3D 渲染。對於 3D 中基於物理的材質,請使用 [BaseMaterial3D] 來代替。
[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.
渲染算繪的 [ImageTexture] 的替代品。它允許在任何繼承自 [CanvasItem] 的節點中使用法線貼圖和鏡面貼圖。[CanvasTexture] 還允許獨立於節點的屬性(或專案設定)覆蓋紋理的篩選模式和重複模式。[b]注意:[/b][CanvasTexture] 不能用於 3D
渲染算繪。對於 3D 中基於物理的材質,請使用 [BaseMaterial3D] 來代替。