FrancescoFontana Posted August 17, 2019 Share Posted August 17, 2019 Hi everyone, I am trying to add a camera shake following this tutorial: http://www.zulubo.com/gamedev/2019/1/5/vr-screen-shake-the-art-of-not-throwing-up Sadly, while it works inside the unity editor (I'm using Unity 2018.2.21f1) it does nothing while deployed inside the Vive Focus Plus. You coul find the slightly modified script attached here, if anyone could point me in the right direction it will be amazing, and perhaps it will benefit other users as well 🙂. Thank you, Francesco ScreenShakeVR.shader ScreenShakeVR.cs Link to comment Share on other sites More sharing options...
Cotta Posted August 23, 2019 Share Posted August 23, 2019 Hi @FrancescoFontana, One possible reason is that you'll have to set 'Preferred Stereo Rendering Path' to 'Multi Pass'. WaveVR doesn't support Post Process + Single Pass at current stage. Also, per checked this shader is not designed for Single Pass case. We verified this shader works inside Focus Plus when set to Multi Pass. Note that you'll need to attach the script to both Eye Right and Eye Left. Make sure to place the shader in Resource folder to be loaded correctly. Link to comment Share on other sites More sharing options...
FrancescoFontana Posted August 23, 2019 Author Share Posted August 23, 2019 Thanks Cotta! Amazing, I will try it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now