diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-05-04 22:18:05 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-05-04 22:46:47 +0200 |
commit | d8808fba854395cafc64fb474b8067d5fa5f5e43 (patch) | |
tree | dcadf807dc512dd0c36ffba724b92eb539873242 /doc/classes/StyleBoxTexture.xml | |
parent | f7ca1c805ba2189627b49212ffbfba773f44acc5 (diff) | |
download | redot-engine-d8808fba854395cafc64fb474b8067d5fa5f5e43.tar.gz |
Document the expected normal map coordinate system where relevant
Diffstat (limited to 'doc/classes/StyleBoxTexture.xml')
-rw-r--r-- | doc/classes/StyleBoxTexture.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/StyleBoxTexture.xml b/doc/classes/StyleBoxTexture.xml index 8ed94c8c26..f8aa14cb2b 100644 --- a/doc/classes/StyleBoxTexture.xml +++ b/doc/classes/StyleBoxTexture.xml @@ -121,6 +121,7 @@ </member> <member name="normal_map" type="Texture2D" setter="set_normal_map" getter="get_normal_map"> The normal map to use when drawing this style box. + [b]Note:[/b] Godot expects the normal map to use X+, Y-, and Z+ coordinates. See [url=http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinates]this page[/url] for a comparison of normal map coordinates expected by popular engines. </member> <member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect" default="Rect2( 0, 0, 0, 0 )"> Species a sub-region of the texture to use. |