Merge pull request #541 from marynate/PR-fix-uv-xform

Fix FixedMaterial uv xform not working bug
This commit is contained in:
reduz 2014-06-29 19:08:46 -03:00
commit 97731696c9

View file

@ -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] )