diff options
author | marynate <mary.w.nate@gmail.com> | 2014-06-21 23:42:25 +0800 |
---|---|---|
committer | marynate <mary.w.nate@gmail.com> | 2014-06-21 23:42:57 +0800 |
commit | d29ccb4db3f5d97c56a01507552e77f748ef7cd4 (patch) | |
tree | c7e53d651fea3330d0a631aaedb931fedccb6a3f /servers/visual/rasterizer.cpp | |
parent | e086bccd63e64b8d3bd2b6b5ce000ef8abd71584 (diff) |
Fix FixedMaterial uv xform not working bug
Diffstat (limited to 'servers/visual/rasterizer.cpp')
-rw-r--r-- | servers/visual/rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/rasterizer.cpp b/servers/visual/rasterizer.cpp index e21848eac2..f489102bc9 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] ) |