Improved skydome shader, auto detecting cpu threads