rendering scene to texture on screen