Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UE4 game can't display normally using the driver implemented IVRDriverDirectModeComponent #7

Open
bsufo111 opened this issue Jun 21, 2017 · 1 comment
Assignees

Comments

@bsufo111
Copy link

Hi sencercoltu. I really learned a lot from this project. So appreciate for this. I implemented the IVRDriverDirectModeComponent in my driver following your code. With the direct mode, the vrmonitor and Unity games run normally, but it seems there are some problems for UE4 games. I see when launching the UE4 game, CreateSwapTextureSet will be called with the texture format to DXGI_FORMAT_B8G8R8A8_UNORM_SRGB, different from the vrmonitor and Unity games which using DXGI_FORMAT_R8G8B8A8_UNORM_SRGB. The UE4 game texture can't be displayed and I even can't save the UE4 texture to file with the system call D3DX11SaveTextureToFile. Did you ever met similar issue before? Do you have any idea for this? Thanks in advance.

@sencercoltu
Copy link
Owner

@bsufo111 Hi. I just moved to a new place, after unboxing my computer stuff I'll look into this.

@sencercoltu sencercoltu self-assigned this Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants