Obi Official Forum
Help rendering with SimpleFluildRenderer - 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 rendering with SimpleFluildRenderer (/thread-2286.html)



rendering with SimpleFluildRenderer - kmaroufi - 03-06-2020

Hi,

I want to buy Obi Fluid, but I have a question. I want to use it in the mobile platform and as far as I understand, I should use SimpleFluidRenderer. My game's objects and camera are 3D and perspecive, meanwhile SimpleFluidRender will render in 2D. My question is, Can I use it for rendering the water in my 3D game? Actually camera is placed in one side of the water. So showing water in 2D with SimpleFluidRender will be looking good?


RE: rendering with SimpleFluildRenderer - josemendez - 04-06-2020

(03-06-2020, 08:32 PM)kmaroufi Wrote: Hi,

I want to buy Obi Fluid, but I have a question. I want to use it in the mobile platform and as far as I understand, I should use SimpleFluidRenderer. My game's objects and camera are 3D and perspecive, meanwhile SimpleFluidRender will render in 2D. My question is, Can I use it for rendering the water in my 3D game? Actually camera is placed in one side of the water. So showing water in 2D with SimpleFluidRender will be looking good?

SimpleFluidRenderer does not perform depth testing. This is because it skips rendering a fluid depth buffer and testing against the scene depth, for performance.

Whether this will be a limitation in your game or not, I can't possibly tell without more information. It entirely depends on how rendering is set up in your case.