Refactor rendering code
Texture adjustments