Obi Official Forum
Help Fluid Renderer script - 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 Fluid Renderer script (/thread-3668.html)



Fluid Renderer script - kebab_traume - 28-11-2022

Hello again! Thank you guys for your answers, need a little bit more help. 
We have obi fluid renderer feature with some renderer parameters such as blending, refraction etc. We also do have those parameters in Obi Fluid Renderer script. I have emitter with Obi Fluid renderer script on it with particle renderer assigned to respective window, but changing parameters here doesn't affect the fluid. Changing global parameters (renderer feature) - does. Where did I go wrong? And how to affect fluid with Obi fluid renderer parameters? Need to have two liquids with different blending params
[attachment=1581][attachment=1582]


RE: Fluid Renderer script - josemendez - 28-11-2022

(28-11-2022, 03:21 PM)kebab_traume Wrote: Hello again! Thank you guys for your answers, need a little bit more help. 
We have obi fluid renderer feature with some renderer parameters such as blending, refraction etc. We also do have those parameters in Obi Fluid Renderer script. I have emitter with Obi Fluid renderer script on it with particle renderer assigned to respective window, but changing parameters here doesn't affect the fluid. Changing global parameters (renderer feature) - does. Where did I go wrong? And how to affect fluid with Obi fluid renderer parameters? Need to have two liquids with different blending params

ObiFluidRenderer is to be used with the built-in pipeline, and ObiFluidRenderer feature is for URP. Both accomplish the same task, just for different pipelines. Using them both doesn’t make much sense.

It’s bot possible in URP to have different emitters using different fluid rendering properties, since the URP pipeline is an asset, and assets in Unity cannot have references to objects in the scene.

Kind regards,