Help Render fluid after all opaque on Quest only - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html) +--- Thread: Help Render fluid after all opaque on Quest only (/thread-3093.html) |
Render fluid after all opaque on Quest only - aleveque - 13-09-2021 Hello, I have a problem with ObiFLuid. The fluid is displayed well in the editor, but when I test by making an apk on Quest, the fluid is displayed on top of everything: transparent and opaque. I'm using Universal Render Pipeline / Lit for opaque elements. Someone have an idea ? Unity : 2020.3.12f1 URP : 10.5.0 ObiFLuid : 6.2 Thanks in advance Aurélien RE: Render fluid after all opaque on Quest only - josemendez - 13-09-2021 Hi there, This can be due to a variety of reasons. Fluid should always be rendered after all opaque objects (objects in the opaque render queue). Also, your render pipeline needs to generate a depth buffer, otherwise fluid will be rendered on top of everything. Since you're using the standard Lit shader for opaques, only possible reason for this is that depth buffer generation is disabled in your pipeline. Try enabling it. See: http://obi.virtualmethodstudio.com/manual/6.2/fluidrendering.html RE: Render fluid after all opaque on Quest only - aleveque - 13-09-2021 (13-09-2021, 11:07 AM)josemendez Wrote: Hi there,Hi, Thanks for your reply. Depth Texture and Opaque Texture boxes is checked : [attachment=1109] Did you know how can I know if my pipeline generate a depth buffer ? Thanks Best RE: Render fluid after all opaque on Quest only - aleveque - 13-09-2021 If I checked Surface Reconstruction AND Lighting, the sorting is well done. But in this case, the framerate is very low in VR on Oculus Quest... [attachment=1110] RE: Render fluid after all opaque on Quest only - josemendez - 13-09-2021 (13-09-2021, 02:07 PM)aleveque Wrote: If I checked Surface Reconstruction AND Lighting, the sorting is well done. Quest is basically a mobile platform, which is very filtrate limited. Rendering at full resolution will probably be too expensive there. You should use downsampling, as stated in the manual: http://obi.virtualmethodstudio.com/manual/6.2/fluidrendering.html Quote:Mobile performance |