Document support for normal and specular maps in AnimatedSprite2D

This closes #38509.
This commit is contained in:
Hugo Locurcio 2020-07-10 21:52:16 +02:00
parent dcd11faad3
commit 8d0099f5fc
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
</brief_description> </brief_description>
<description> <description>
Animations are created using a [SpriteFrames] resource, which can be configured in the editor via the SpriteFrames panel. Animations are created using a [SpriteFrames] resource, which can be configured in the editor via the SpriteFrames panel.
[b]Note:[/b] You can associate a set of normal or specular maps by creating additional [SpriteFrames] resources with a [code]_normal[/code] or [code]_specular[/code] suffix. For example, having 3 [SpriteFrames] resources [code]run[/code], [code]run_normal[/code], and [code]run_specular[/code] will make it so the [code]run[/code] animation uses normal and specular maps.
</description> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>

View File

@ -5,6 +5,7 @@
</brief_description> </brief_description>
<description> <description>
Sprite frame library for [AnimatedSprite2D]. Contains frames and animation data for playback. Sprite frame library for [AnimatedSprite2D]. Contains frames and animation data for playback.
[b]Note:[/b] You can associate a set of normal or specular maps by creating additional [SpriteFrames] resources with a [code]_normal[/code] or [code]_specular[/code] suffix. For example, having 3 [SpriteFrames] resources [code]run[/code], [code]run_normal[/code], and [code]run_specular[/code] will make it so the [code]run[/code] animation uses normal and specular maps.
</description> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>