User requests that TSF_BGRA8 in SteamVRAssetManager.cpp be changed to TSF_RGBA8 to match OpenVR API
https://github.com/ValveSoftware/openvr/wiki/IVRRenderModels::LoadRenderModel
SteamVRAssetManager.cpp:
#if WITH_EDITORONLY_DATA // @TODO: UTexture::Source is only available in editor builds, we need to find some other way to construct textures - try using CreateTransient() (see: TexturePaintHelpers::CreateTempUncompressedTexture)
NewTexture = NewObject<UTexture2D>(ObjOuter, ObjName, ObjFlags);
NewTexture->Source.Init(RawResource->unWidth, RawResource->unHeight, /NewNumSlices =/1, /NewNumMips =/1, TSF_BGRA8, RawResource->rubTextureMapData);
1. Load VR project (If using oculus, disable oculus plugin to force SteamVR)
2. On motion controllers set DisplayDeviceModel = true
3. Observe that colors of SteamVR skins ((and WMR LEDs)) are incorrect.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-59540 in the post.
0 |
Component | UE - Platform - XR |
---|---|
Affects Versions | 4.19 |
Target Fix | 4.23 |
Created | May 23, 2018 |
---|---|
Resolved | Apr 25, 2019 |
Updated | Sep 16, 2019 |