Oculus-VR / Unity-Graphics

Unity Graphics - Including Scriptable Render Pipeline
Other
66 stars 51 forks source link

Supporting Space Warp in Shader Graph #2

Closed tsaileo1 closed 2 years ago

tsaileo1 commented 2 years ago

Adding the OculusMotionVector pass to the shader graph generation code so that motion vector passes will be added to unlit and lit shader graphs.

nukadelic commented 2 years ago

Not sure were to write an issue as there is no tab for that in this repo so im gonna put it here : I tried cloning the 2020.3/oculus-app-spacewarp branch and the shader-graph-spacewarp one but in both case the URP\Lit & URP\SimpleLit & Custom Lit shader made in shader graph causes tearing when SpaceWrap is activated , image:

https://raw.githubusercontent.com/nukadelic/unity-application-spacewarp/master/Img/cube.gif

This is only true when the object is in rapid motion ( it gets much crazier when attached to the hands ) - stationary objects in the scene seem to be just fine even when I move the headset furiously around

Not sure if i did something wrong , would appreciate any help , here is my complete project with nearly bare minimal setup required for asw - https://github.com/nukadelic/unity-application-spacewarp

tsaileo1 commented 2 years ago

@nukadelic Thanks for bringing this up, we've opened the issues tab in the repo so can you repost you issue there?

neelbedekar commented 2 years ago

LGTM