Fixed warnings
Half done cubemap implementation