adding viewer to pipeline, adding mouse offset, texture loc