Skip to content

Commit 9773169

Browse files
committed
Merge pull request godotengine#541 from marynate/PR-fix-uv-xform
Fix FixedMaterial uv xform not working bug
2 parents ae5b064 + d29ccb4 commit 9773169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/visual/rasterizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RID Rasterizer::_create_shader(const FixedMaterialShaderKey& p_key) {
6060
int texcoords_used=0;
6161
String code;
6262

63-
static const char* _uv_str[4]={"UV","UV2","uv_xform","uv_sphere"};
63+
static const char* _uv_str[4]={"UV","uv_xform","UV2","uv_sphere"};
6464
#define _TEXUVSTR(m_idx) String( _uv_str[(p_key.texcoord_mask>>(m_idx*2))&0x3] )
6565

6666

0 commit comments

Comments
 (0)