Moved texture params outside ccTexture