Post Processing for VR Development in Unity

  Рет қаралды 24,991

Valem Tutorials

Valem Tutorials

Күн бұрын

How to setup Post Processing for both URP and Standard Pipeline in Unity for VR while keeping everything optimized.
❤️ Support on Patreon : / valemvr
🔔 Subscribe for more Unity Tutorials : www.youtube.com/@ValemTutoria...
🌍 Discord : / discord
🐦Twitter : valemvr?lang=en
👍 Main Channel : / @valemvr
🔥 Tiktok : / valemxr
····················································································
📝Best VR Assets ( These links are Affiliate links which means it costs the same to you and I get a small commission. Thanks for your support!)
VR Interaction Framework
assetstore.unity.com/packages...
Hexabody (Physics VR Player)
assetstore.unity.com/packages...
Mirror and Reflection for VR
assetstore.unity.com/packages...
Auto Hand (automatic hand grab pose)
assetstore.unity.com/packages...
Hurricane VR (vr physics interaction)
assetstore.unity.com/packages...
3d Hand Model for VR
assetstore.unity.com/packages...
····················································································
Full Series on How to make a VR game • How to Make a VR Game ...
····················································································
If you enjoyed this video, here are some other really good channel you should appreciate :
⌨️ Game Dev
Brackeys : / @brackeys
Dani : / @danidev
Code Monkey : / @codemonkeyunity
👨‍🎓 Vr Dev
Justin P Barnett : / @justinpbarnett
Vr with Andrew : / @vrwithandrew
····················································································
00:00 Intro
00:40 Standard Pipeline Setup
03:04 URP Setup
04:07 Effect Overview
05:53 Post Processing for VR
08:19 Conclusion
#vr #vrdev #madewithunity #valem #unity

Пікірлер: 48
@maurom98
@maurom98 9 ай бұрын
To make post-processing work on standalone/built in pipeline you need to make sure the rendering mode is set to multi-pass, post-processing is not supported on multi-View. You change this on Project Settings -> XR Plug-in Management -> Oculus -> Stereo Rendering Mode. This will affect the rendering performance a lot though.
@SOS_Studios
@SOS_Studios 4 ай бұрын
the left eye dont work
@lucutes2936
@lucutes2936 3 ай бұрын
still no work
@1playfair
@1playfair Жыл бұрын
Once again!! Valem saves the day! I swear dude, when im bout to think it just can't happen. I always do one last check with Valem and I swear you have a video specifically to fix the issue Im having. Thanks man. My new vr experience I'm doing for my wifes birthday is looking so much better now with all the effects.
@kingbrodan
@kingbrodan 2 жыл бұрын
Great video! Love to see a step into the optimization management which has always been super hard for me specifically. Do you have any suggestions for understanding a save and load function? I'm using basic playerprefs to save and load but since it's a huge part of every game i feel like there's a more organized way to do it. btw there is only the 00:00 intro timestamp in the description
@picoplanetdev
@picoplanetdev 2 жыл бұрын
I used some sort of binary encoding for my save system in Crop Craze, let me go back and find what I did and I'll update you on it. If I remember correctly it was just an object or class or something that was used to define everything that could be saved and then it would just save all the pertinent variables into that and write it. EDIT: Here it is, I just added some wrappers to this tutorial from Brackeys that let me easily save grabbable objects locations if they have been grabbed and shouldn't be reset the next time it loads. kzfaq.info/get/bejne/jrWal8KiupitlKM.html
@mickbanks68
@mickbanks68 Жыл бұрын
as stated @ 3:00 Unity 2022 URP does not have any component called " Post Processing " so use "Volume " component instead.
@jimmyscogin502
@jimmyscogin502 Жыл бұрын
I can't get this to work with OVRCameraRig. Tried everything I can thing of. Thanks Figured out how to get it to work. Apply Volume to Center Eye Anchor. Worked great!
@gabrieleroppolo7059
@gabrieleroppolo7059 2 жыл бұрын
hello, great video!! I wanted to ask you if you could give some advice to make a vr application lighter so as to run it in optimal conditions in stand alone (for meta quest 2)
@thaFoxy
@thaFoxy 2 жыл бұрын
can you do a video tutorial of inverse kinematics body for XR Interaction toolkit? it would be wonderful!
@michaelbanks4051
@michaelbanks4051 Жыл бұрын
note: If you are using URP - Don't import POST PROCESSING... instead just add a VOLUME component.
@seemantadebdas294
@seemantadebdas294 2 жыл бұрын
Awesome Video! But, one thing I've noticed is vignette effect creates a dark shaded area between the left eye camera and the right eye camera. Maybe because vignette is applied to the two cameras separately Do you know how to tackle this?
@qualar
@qualar 7 ай бұрын
I was havung major issues witg my URP project shimmering and really jaggy. I converted it to built in and it cured everything. I have no clue what my issue was with URP but i wilk be using built in from now on.
@BEAKMOTION
@BEAKMOTION Жыл бұрын
Amazing video thank you soo much!! Can you do a video about event trigger like teleporting the player to another 3d environment/object in the same scene and all the possible events without coding. And I still don't get the diffrence between Xr toolkit and SDK and the multiple controllers and the versions of unity etc. And which setup is compatible with HDRP and URP for creating Vr games couldn't find any tutorials about how to setup a Vr game with them. I had a lot of errors by using XR interaction toolkit and HDRP or URP. Thank you for your content.
@lucutes2936
@lucutes2936 2 ай бұрын
thx
@tonycalabro470
@tonycalabro470 2 жыл бұрын
Does this work with the oculus intervention and not the Unity XR toolkit rig?
@EscHatchStudio
@EscHatchStudio Жыл бұрын
Any idea why Color Grading set in High Definition Range does not seem to work in standalone Oculus Quest2 VR in SRP?
@caspar6973
@caspar6973 Жыл бұрын
For the URP set up, why I do not have the Volume script, I already install the URP package in my project.
@lordhitnrun4335
@lordhitnrun4335 3 ай бұрын
Bloom is actually quite expansive for optimization !
@tiborudvari4952
@tiborudvari4952 Жыл бұрын
When I use the Built in / Standard Pipeline the left eye is not rendering on oculus quest 2. I don't know what I'm doing wrong.
@AdeelShoukat-id6ji
@AdeelShoukat-id6ji 10 ай бұрын
hey did you find solution i am facing the same issue
@maurom98
@maurom98 9 ай бұрын
To make post-processing work on standalone/built in pipeline you need to make sure the rendering mode is set to multi-pass, post-processing is not supported on multi-View. You change this on Project Settings -> XR Plug-in Management -> Oculus -> Stereo Rendering Mode
@jiricapek6717
@jiricapek6717 Жыл бұрын
Works fine in PlayMode but in Android build (for VR) I dont see any effects. Also I think the whole lighitng/shadows are missing. Where could be a problem?
@angelwater8987
@angelwater8987 Жыл бұрын
Same Issue.
@reactga
@reactga 2 жыл бұрын
Personally I wouldn't recommend using unity's post-processing for VR at all even the bloom, vignette and particularly anti-aliasing. For anti-aliasing (in URP), there's a MSAA parameter in the pipeline asset which when set to 4x or 8x, deos the proper anti-aliasing needed. For bloom and vignette, either you write you own light-weight post processing shader or use some assets store post processing solutions that is well optimized for VR, you even get the bonus of using other effects with those assets
@LordBinzVR
@LordBinzVR 2 жыл бұрын
What assets store post processing solutions have you used and would recommend?
@reactga
@reactga 2 жыл бұрын
@@LordBinzVR you can search for "fast mobile post processing" and similar ones
@LordBinzVR
@LordBinzVR 2 жыл бұрын
@@reactga thanks for replying, ill do that!
@maessof91
@maessof91 Жыл бұрын
@@reactga Do those actually avoid the problem with post processing, capturing the whole screen?
@reactga
@reactga Жыл бұрын
@@maessof91 not really actually but unity's post processing peforms some effects in very complicated ways (for example, using multiple draw calls to achieve best results which is obviously more expensive) but those assets greatly simplify the implementation to the barest minimum which would still look good but very less expensive such that the gpu is well capable of it even for sterio rendering
@user-de5po8ty5d
@user-de5po8ty5d Жыл бұрын
hello,thanks for the video,i have a question,my project pipeline is urp,it works in editor mode,but it don't work when i build for my quest2
@jiricapek6717
@jiricapek6717 Жыл бұрын
Hey mate, did you figure it out? same problem here
@qualar
@qualar 7 ай бұрын
Have you made sure your project settings are set to ARM64
@RAFFPLES
@RAFFPLES Жыл бұрын
How to export all of this project to a stand alone program guys?
@serveladik
@serveladik Жыл бұрын
I have white left eye, and postProc not working as i think
@AdeelShoukat-id6ji
@AdeelShoukat-id6ji 10 ай бұрын
hey did you find any solution to this i am facing the same issue
@maurom98
@maurom98 9 ай бұрын
To make post-processing work on standalone/built in pipeline you need to make sure the rendering mode is set to multi-pass, post-processing is not supported on multi-View. You change this on Project Settings -> XR Plug-in Management -> Oculus -> Stereo Rendering Mode
@gaboandres
@gaboandres 2 жыл бұрын
With URP you lose like 10 fps just by using it compare to SRP, and for some reason the aliasing is more noticeable than with SRP so I wouldn't recommend use URP for VR
@ValemTutorials
@ValemTutorials 2 жыл бұрын
I didnt know about this! Is it a current bug already reported?
@gaboandres
@gaboandres 2 жыл бұрын
@@ValemTutorials not sure if its a bug, its been always that way, is the same with mobile platforms, URP is less efficient than SRP. As far as I know is only better on PC
@madprogrammerc
@madprogrammerc 2 жыл бұрын
@@ValemTutorials Yes he is right. I had hard time fixing the FPS. Finally, when I created a new project with the default RP, the frame rate stabilised. Not sure if it is a bug.
@enigmaticimagination01
@enigmaticimagination01 2 жыл бұрын
Post processing decrease frame rate, not viable for VR especially for Oculus.
@placebo_yue
@placebo_yue 11 ай бұрын
do you talk like brackeys on prupose or it's just a coincidence? you sound just like him lol
@elminerillo8247
@elminerillo8247 2 жыл бұрын
personally i hate post processing its like... a lie in the 3d reender world... i try to only use it just when is absoluty neccesary so this is very usefull data, thank you.
@christianmccauley7340
@christianmccauley7340 2 жыл бұрын
Thats straight up the silliest shit ive ever heard.
@elminerillo8247
@elminerillo8247 2 жыл бұрын
@@christianmccauley7340 "readed u wanted to write"
@izedawidka
@izedawidka Жыл бұрын
Everything in the game world is 'lying', the art of visual game design is to fake something that looks way more better and complexity than it actually it is. SO I agree with Christian, your statement is pretty wrong
@tucan1309
@tucan1309 8 ай бұрын
Vignette looks terrible and makes me motion sick way more than if it wasnt there.
VR Sound Design in Unity
10:04
Valem Tutorials
Рет қаралды 17 М.
Your VR Success Guide: Tailoring URP Settings for Peak Performance
8:38
Fist Full of Shrimp
Рет қаралды 19 М.
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 21 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 3,2 МЛН
VR Optimization and Performance Tips for Unity
14:22
Andrew
Рет қаралды 50 М.
The Best Open Source VR Unity Projects
7:33
Valem Tutorials
Рет қаралды 13 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,4 МЛН
Meta’s Building Blocks | Develop Mixed Reality Apps lightning fast
9:42
Black Whale Studio - XR Tutorials
Рет қаралды 15 М.
Using Post-Processing to improve visuals in Unity
9:23
Game Dev Guide
Рет қаралды 240 М.
How To Make a Quest 3 Mixed Reality Game - Unity Tutorial
13:08
Valem Tutorials
Рет қаралды 112 М.
VR Development for Beginners 2024 - How to get started
14:16
Valem Tutorials
Рет қаралды 61 М.
Hand Tracking with Unity XR Interaction Toolkit
16:30
Valem Tutorials
Рет қаралды 71 М.
How to ACTUALLY get into Gamedev
14:01
DaFluffyPotato
Рет қаралды 708 М.
Complete VR Body Setup - Arms and Legs IK with Hand Animation
17:36
Valem Tutorials
Рет қаралды 58 М.
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22