Add rotation to vertex shader, sample correction.