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.
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
How do I set a material as a post-processing material?
What is the difference between Camera and CineCamera?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How to delete some elements correctly when deleting an array loop?
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 |