# \[HTC \] Right Eye rendering corrupted with Instanced Stereo Rendering

**URL:** <https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376>\
**Category:** XR Development\
**Tags:** Vive, unreal-engine, bug-report, question\
**Created:** [April 16, 2016, 9:40am UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376 "2016-04-16T09:40:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fa87b2d2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fa87b2d2](https://forums.unrealengine.com/u/anonymous_user_fa87b2d2)\
**Post date:** [April 16, 2016, 9:40am UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376/1 "2016-04-16T09:40:08Z")

</div>

I noticed that enabling instanced stereo rendering for certain shaders (for example: this ocean shader scene from Piroman ([https://forums.unrealengine.com/show...hader-download](https://forums.unrealengine.com/show...hader-download))) causes a corrupted right eye rendering in my . Disabling instanced stereo rendering fixes the issue.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [April 18, 2016, 6:41pm UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376/2 "2016-04-18T18:41:46Z")

</div>

Hello fhernand,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

1. Can you reproduce this issue in a clean project?
2. If so, could you provide a detailed list of steps to reproduce this issue in clean project?
3. Could you provide screen shots of any blueprints that may be involved?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [April 22, 2016, 2:00pm UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376/3 "2016-04-22T14:00:36Z")

</div>

Hello fhernand,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fa87b2d2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fa87b2d2](https://forums.unrealengine.com/u/anonymous_user_fa87b2d2)\
**Post date:** [April 24, 2016, 12:16am UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376/4 "2016-04-24T00:16:45Z")

</div>

Hi ,

I managed to reduce the steps to reproduce the problem:

1. Create blank project (UE 4.11.2)
2. Enable Instanced Stereo Rendering in “Project Settings → Engine → Rendering”
3. Disable all VR plugins except Steam VR (probably not needed)
4. Create a material (Resulting graph is attached as screenshot)
5. In the material graph, create a Texture Sample node and assign any image (e.g. a Normal texture)
6. Create a WorldPositionWIthScale node and connect the XY attribute to the UVs attribute of the Texture Sample
7. Create a Constant Node and connect it to the “Divisor (V3)” attribute of the WorldPositionWithScale node. Set it to 1000
8. Connect the top output attribute of the Texture Sample to the Normal attribute of the Material
9. For the Material, under Tessellation settings, set the D3D11Tessellation Mode to “PN Triangles”
10. Assign material to the Floor mesh in the scene.
11. Start VR Preview

**Result: The right eye shows an unexpectedly distorted view of the texture.**

Regards

 ![88183-issue_tessellation.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/f/02f924fb0fb8ed44bdb366a34f3410c40280cc5f.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_59e7654a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_59e7654a](https://forums.unrealengine.com/u/anonymous_user_59e7654a)\
**Post date:** [April 27, 2016, 7:18pm UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376/5 "2016-04-27T19:18:47Z")

</div>

I have the exact same problem when adding a star from this asset [FX Star Starter Kit vA in Visual Effects - UE Marketplace](https://www.unrealengine.com/marketplace/fx-star-starter-kit-va)

I had no problem before activating Instanced Stereo Rendering

---

<div class="post-metadata">

**Author:** ![VRVisuals](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VRVisuals](https://forums.unrealengine.com/u/VRVisuals)\
**Post date:** [May 3, 2016, 6:59am UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376/6 "2016-05-03T06:59:44Z")

</div>

Spirtes are not showing on my right eye. Deactivating Stereo Rendering fixes this problem.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_59e7654a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_59e7654a](https://forums.unrealengine.com/u/anonymous_user_59e7654a)\
**Post date:** [May 4, 2016, 6:46pm UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376/7 "2016-05-04T18:46:02Z")

</div>

Disabling Tessellation in the material also removes this problem btw.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 5, 2016, 7:41pm UTC](https://forums.unrealengine.com/t/htc-right-eye-rendering-corrupted-with-instanced-stereo-rendering/354376/8 "2016-05-05T19:41:25Z")

</div>

Hello fhernand,

After further investigation. I believe that this is a known issue (UE-30278) and it has been submitted to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day
