From ef7675a05330b0643a5021e47f1591b9d0368b1b Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 10 Jul 2020 21:52:16 +0200 Subject: [PATCH] Document support for normal and specular maps in AnimatedSprite2D This closes #38509. (cherry picked from commit 8d0099f5fcb5a0366d85759673674e031683e79f) --- doc/classes/AnimatedSprite.xml | 1 + doc/classes/SpriteFrames.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/classes/AnimatedSprite.xml b/doc/classes/AnimatedSprite.xml index 986d452debe..cf67f5eddba 100644 --- a/doc/classes/AnimatedSprite.xml +++ b/doc/classes/AnimatedSprite.xml @@ -5,6 +5,7 @@ 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 maps by creating additional [SpriteFrames] resources with a [code]_normal[/code] suffix. For example, having 2 [SpriteFrames] resources [code]run[/code] and [code]run_normal[/code] will make it so the [code]run[/code] animation uses the normal map. https://docs.godotengine.org/en/latest/tutorials/2d/2d_sprite_animation.html diff --git a/doc/classes/SpriteFrames.xml b/doc/classes/SpriteFrames.xml index 2166c9c545f..84b062e7c22 100644 --- a/doc/classes/SpriteFrames.xml +++ b/doc/classes/SpriteFrames.xml @@ -5,6 +5,7 @@ Sprite frame library for [AnimatedSprite]. Contains frames and animation data for playback. + [b]Note:[/b] You can associate a set of normal maps by creating additional [SpriteFrames] resources with a [code]_normal[/code] suffix. For example, having 2 [SpriteFrames] resources [code]run[/code] and [code]run_normal[/code] will make it so the [code]run[/code] animation uses the normal map.