Dustyroom / flat-kit-doc

Documentation of the Flat Kit asset.
https://flatkit.dustyroom.com
Apache License 2.0
2 stars 1 forks source link

Outline Image Effect - VR Single Pass Support #24

Closed TrueBeef closed 2 years ago

TrueBeef commented 3 years ago

Hey guys, me again. Im attempting to make the image effect for the outlines work in VR with the single-pass instanced rendering mode. I've tried a couple solutions using the Unity documentation on the subject (specifically this one) though nothing seems to stick. Currently, the game view simply renders a gray/black view with nothing else visible.

I've tried adjusting the UV Coords with the unity_StereoScaleOffset and the UnityStereoTransformScreenSpaceTex, but I believe I am simply too inexperienced to understand how to use these in order to get the desired results.

Below is an example of what is being rendered (Scene view vs Game view). In the headset, the left eye renders a white image, and the right eye renders a black one.

image

This is the outline settings currently:

image

For additional context, I am using a valve index headset with Steam VR Unity plugin.

Also, thanks for the great asset! Appreciate all the help with this VR stuff.

dustyroom-studio commented 3 years ago

Thank you for the details description and the screenshots.

A few questions to help us debug:

  1. Which version of Unity are you using?
  2. Which version of URP are you using?
  3. Can you please list the steps to reproduce the issue from a blank project to the screen you're seeing?
dustyroom-studio commented 2 years ago

Hi! We have added Single Pass Stereo support for Unity 2021 and later in Flat Kit 2.9.0, please check it out.