# VR mode fullscreen is not work using htc vive?

**URL:** <https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101>\
**Category:** Community & Industry Discussion\
**Tags:** Vive, unreal-engine, fullscreen, question\
**Created:** [July 6, 2016, 7:26am UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101 "2016-07-06T07:26:17Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f146ef64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f146ef64](https://forums.unrealengine.com/u/anonymous_user_f146ef64)\
**Post date:** [July 6, 2016, 7:26am UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/1 "2016-07-06T07:26:17Z")

</div>

Hi,I’m using htc vive.  
When I play game in vr mode,‘fullscreen’ command does not take any effect,‘ALT+ENTER’ also is not work.  
It always has two sides of black block.  
But when I play game in ‘standalone’ mode ,it is right.However, the hmd of htv vive not work,even if i set ‘enable hmd’ true.  
Who can give me some help?  
I want to record the game! It is so important!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f146ef64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f146ef64](https://forums.unrealengine.com/u/anonymous_user_f146ef64)\
**Post date:** [July 11, 2016, 2:58am UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/2 "2016-07-11T02:58:42Z")

</div>

Is there any one knows ?Maybe, there is another way, to change the resolution of vr in screen?

---

<div class="post-metadata">

**Author:** ![serbaside](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serbaside](https://forums.unrealengine.com/u/serbaside)\
**Post date:** [July 21, 2016, 4:33pm UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/3 "2016-07-21T16:33:11Z")

</div>

would like to know a solution to this too!

---

<div class="post-metadata">

**Author:** ![serbaside](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serbaside](https://forums.unrealengine.com/u/serbaside)\
**Post date:** [July 27, 2016, 4:39pm UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/4 "2016-07-27T16:39:19Z")

</div>

See this post [Problem about monitor resolution display in vive vr mode - XR Development - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?117032-Problem-about-monitor-resolution-display-in-vive-vr-mode), you have to edit SteamVRRender.cpp in the source code

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f146ef64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f146ef64](https://forums.unrealengine.com/u/anonymous_user_f146ef64)\
**Post date:** [July 28, 2016, 5:39am UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/5 "2016-07-28T05:39:14Z")

</div>

Very thanks,it is very useful! But,how can i debug the plugin? I set a breakpoint in it SteamVRRender.cpp, it does not hit?Maybe it is another question! can you give me some help?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f146ef64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f146ef64](https://forums.unrealengine.com/u/anonymous_user_f146ef64)\
**Post date:** [July 28, 2016, 9:33am UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/6 "2016-07-28T09:33:53Z")

</div>

Hi,do you have some idea? I do not have the source code of the engine! I also recompile it, it is not work also!

---

<div class="post-metadata">

**Author:** ![serbaside](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serbaside](https://forums.unrealengine.com/u/serbaside)\
**Post date:** [July 28, 2016, 1:57pm UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/7 "2016-07-28T13:57:25Z")

</div>

For me it didn’t require debugging or anything. I just opened up SteamVRRender.cpp and changed mirrormode=1 to this:

RendererModule-\>DrawRectangle(  
RHICmdList,  
0, 0,  
ViewportWidth, ViewportHeight,  
0.0f, 0.3f,  
0.4f, 0.4f,  
FIntPoint(ViewportWidth, ViewportHeight),  
FIntPoint(1, 1),  
\*VertexShader,  
EDRF\_Default);

Also I am using a built of 4.12.2 from github [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/GitHub_Setup). I tried to do it with the regular install but it won’t have the ability to rebuild the engine (I what I found)

---

<div class="post-metadata">

**Author:** ![serbaside](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serbaside](https://forums.unrealengine.com/u/serbaside)\
**Post date:** [July 28, 2016, 1:57pm UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/8 "2016-07-28T13:57:39Z")

</div>

For me it didn’t require debugging or anything. I just opened up SteamVRRender.cpp and changed mirrormode=1 to this:

RendererModule-\>DrawRectangle(  
RHICmdList,  
0, 0,  
ViewportWidth, ViewportHeight,  
0.0f, 0.3f,  
0.4f, 0.4f,  
FIntPoint(ViewportWidth, ViewportHeight),  
FIntPoint(1, 1),  
\*VertexShader,  
EDRF\_Default);

Also I am using a built of 4.12.2 from github [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/GitHub_Setup). I tried to do it with the regular install but it won’t have the ability to rebuild the engine (is what I found)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f146ef64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f146ef64](https://forums.unrealengine.com/u/anonymous_user_f146ef64)\
**Post date:** [August 4, 2016, 3:18am UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/9 "2016-08-04T03:18:44Z")

</div>

Hi, I am sorry that the link is not work now!Can you give me a newer?

---

<div class="post-metadata">

**Author:** ![serbaside](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serbaside](https://forums.unrealengine.com/u/serbaside)\
**Post date:** [August 4, 2016, 11:40am UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/10 "2016-08-04T11:40:58Z")

</div>

It had a period at the end, sorry [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/GitHub_Setup)

---

<div class="post-metadata">

**Author:** ![Tdore](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tdore](https://forums.unrealengine.com/u/Tdore)\
**Post date:** [September 1, 2016, 7:31pm UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/11 "2016-09-01T19:31:18Z")

</div>

How/where do I access SteamVRRender.cpp? I can’t find it anywhere.

---

<div class="post-metadata">

**Author:** ![serbaside](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serbaside](https://forums.unrealengine.com/u/serbaside)\
**Post date:** [September 6, 2016, 11:48am UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/12 "2016-09-06T11:48:08Z")

</div>

\Epic Games[version]\Engine\Plugins\Runtime\Steam\SteamVR\Source\SteamVR\Private

---

<div class="post-metadata">

**Author:** ![neVeRmind8837](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@neVeRmind8837](https://forums.unrealengine.com/u/neVeRmind8837)\
**Post date:** [November 15, 2016, 9:05pm UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/13 "2016-11-15T21:05:05Z")

</div>

Since a lot of people still have problems with this, here is a short tutorial explaining it step by step.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/4/d0435d58a7f3d546263d9e2911cc1dc187a4ab5b.jpeg "UE4 + HTC Vive Fullscreen VR Tutorial") ](https://www.youtube.com/watch?v=IHBOjoEt_Yk)

---

<div class="post-metadata">

**Author:** ![serbaside](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@serbaside](https://forums.unrealengine.com/u/serbaside)\
**Post date:** [November 15, 2016, 9:13pm UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/14 "2016-11-15T21:13:09Z")

</div>

Thanks for doing that man, it’s hard to explain the steps sometimes.

---

<div class="post-metadata">

**Author:** ![OussamaBenMariem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OussamaBenMariem](https://forums.unrealengine.com/u/OussamaBenMariem)\
**Post date:** [November 21, 2017, 4:23pm UTC](https://forums.unrealengine.com/t/vr-mode-fullscreen-is-not-work-using-htc-vive/363101/15 "2017-11-21T16:23:27Z")

</div>

in the 4.17 the fixed the issue its full-screen now
