Obi Official Forum
Bug / Crash Fluid transparency not working in URP - 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: Bug / Crash Fluid transparency not working in URP (/thread-2877.html)



Fluid transparency not working in URP - korzen303 - 20-04-2021

Hi Obi,

it seems that the fluid transparency in URP is not working. When you compare the built-in pipeline at the video start we can clearly see the checker pattern through the fluid. At the video end in URP the fluid is opaque. I am using the latest LTS 2020.3.4f1 with default URP packages. I also tried in new URP project but same thing. Is this a bug / overlook or I am missing something in the URP setup.

Thanks!




RE: Fluid transparency not working in URP - josemendez - 20-04-2021

Hi!

Make sure you've enabled the "Opaque" and "Depth" texture buffers in your URP pipeline asset:
http://obi.virtualmethodstudio.com/tutorials/fluidrendering.html

This is also shown in the setup video:


Specifically, without an available opaque buffer refraction/transparency won't work (as there's nothing to refract!) Sonrisa


RE: Fluid transparency not working in URP - korzen303 - 20-04-2021

Thank you Jose and apologies for not spotting this in the manual. However, I have experienced one more problem with fluid rendering in URP when I have got a transparent object in front of the fluid (see here red spere). My use case is to render a fluid inside humans eye so underneath transparent cornea tissue. In built-in that worked perfectly fine. Thanks 
[Image: fluid.jpg]