Making volume renderer more generic - need to add specializations for different inputs.