Updated perspective and texture wrapping.