Search Issue Tracker

Active

Votes

19

Found in

2017.2.0f3

Issue ID

959230

Regression

Yes

Realtime Lights in VR do not render properly in Stereo

VR

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Workaround is possible

Steps to reproduce:

1. Download and open the attached project
2. Enter Playmode

Expected result: Light is visible on a plane in both headset eyes
Actual result: Light is only visible in the left eye

Reproduced on 2017.2.0b5, 2017.2.0f3, 2017.3.0b5
Not reproduced on 2017.1.2p1, 2017.2.0a1, 2017.2.0b4
Regression introduced in 2017.2.0b5

Notes:
- Does not reproduce on Oculus, only on HTC Vive
- Does not reproduce in Multi-Pass
- Single-Pass Instanced reproduces the problem fully, Single-Pass normal reproduced the problem to an extent on both eyes
- Moving the light closer to the camera makes the light render, but not fully

Comments (2)

  1. 17d5d11000436e4f75894877268232ae?d=mm

    Jovian-Minds

    Oct 26, 2017 23:07

    I'm surprised this doesn't have more votes and/or higher priority as the feature is seemingly a big performance gain for VR, but unusable until this issue is addressed. Hoping for a quick resolution.

  2. Fbf56a916277b07e3d400fe0919421cc?d=mm

    swirvithan

    Oct 26, 2017 19:34

    Just discovered this does happen on Oculus in both 2017.2.0f3 in single pass instanced, AND even in 2017.1.1f1 in normal single pass stereo to a much lesser degree.

    You have to be pretty far away from the realtime light to see it through. The light should be tiny in your view (light range should be small as well), and you'll see a simliar scissor rect culling line in one eye.

    It looks like all that's needed to fix this is removing the scissor rect in the raster state from the forward additive pass in VR. Not sure how big of an optimization it is/why it's needed though.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.