From d29ccb4db3f5d97c56a01507552e77f748ef7cd4 Mon Sep 17 00:00:00 2001 From: marynate Date: Sat, 21 Jun 2014 23:42:25 +0800 Subject: [PATCH] Fix FixedMaterial uv xform not working bug --- servers/visual/rasterizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/visual/rasterizer.cpp b/servers/visual/rasterizer.cpp index e21848eac27..f489102bc99 100644 --- a/servers/visual/rasterizer.cpp +++ b/servers/visual/rasterizer.cpp @@ -60,7 +60,7 @@ RID Rasterizer::_create_shader(const FixedMaterialShaderKey& p_key) { int texcoords_used=0; String code; - static const char* _uv_str[4]={"UV","UV2","uv_xform","uv_sphere"}; + static const char* _uv_str[4]={"UV","uv_xform","UV2","uv_sphere"}; #define _TEXUVSTR(m_idx) String( _uv_str[(p_key.texcoord_mask>>(m_idx*2))&0x3] )