Compile error fixes
Added texture tiling support :D