Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Colorless liquid particles (URP).
#1
Bombilla 
Hello!

3 days ago I sent you an email to support@virtualmethodstudio.com , but received no response. Perhaps my email got into your spam folder.
The mail was sent from the mailbox that is specified here during registration.

I duplicate it here:

***************

2 days ago I purchased your Obi Fluid.

https://assetstore.unity.com/packages/tools/physics/obi-fluid-63067
 
1. Created a new URP Unity Projct in HUB in version 2021.1.25f1.


2. When importing your asset, there was a window 
I pressed «Yes, for these and other files that mught be found».

[Image: Script-Updating-Consent.png]
 
3. Installed and configured URP as you show in the video:
[color=var(--ytd-video-primary-info-renderer-title-color, var(--yt-spec-text-primary))]Obi Fluid - Fluid rendering in URP
https://youtu.be/k5Uv5ecjVM0
 
4. When starting the Fluid Viscosity scene, there is no liquid, but there are such messages in the console:
 
[Image: Obi-Fluid-Install-Error.png]
[/color]

[Image: URP-Renderer.png]

[Image: URP-Asset.png]


[Image: URP-Renderer-Version.png]
 
How do I fix this error and see the fluid in my URP project?
What am I doing wrong?
 
Thanks!



***************

1. Today I entered the project - the error disappeared.  Indeciso

[Image: Obi-Fluid-Install-Error-Disappeared.png]
 


2. When I set the Render checkbox in Emitter-->ObiParticleRenderer everything worked, but for unknown reason the color of the liquid is always black.  Huh

[Image: Set-Render.png]

How do I change it so that everything works as it should?
[color=var(--ytd-video-primary-info-renderer-title-color, var(--yt-spec-text-primary))]Obi Fluid - Fluid rendering in URP[/color]
https://youtu.be/k5Uv5ecjVM0


→ Video:



 
Thanks!

***************
Reply
#2
In ObiParticleRenderer, you need to use the URP shader instead of the built-in one. The shader is at Obi/Resources/ObiMaterials/URP/ParticleShaderURP
Reply
#3
Hi there!

(24-10-2021, 01:04 PM)Volchok Wrote: 3 days ago I sent you an email to support@virtualmethodstudio.com , but received no response. Perhaps my email got into your spam folder.

I just saw your email, it was written last friday at 21:44 local time. By then there was no-one in office, sorry! We seldom check emails/forums during weekends.

First, make sure you're actually using your URP rendering pipeline asset! Otherwise fluids won't show no matter what. The error message in your console complains about render features missing from your pipeline, but your pipeline has no missing render features. Maybe you're using a different one?

(24-10-2021, 01:04 PM)Volchok Wrote: 2. When I set the Render checkbox in Emitter-->ObiParticleRenderer everything worked, but for unknown reason the color of the liquid is always black.

It's not working, only particles are visible. Even then, they're black because you're using a standard pipeline shader instead of a URP shader (as CreepGin points out in the post above mine)

Make sure you disable the "render" checkbox in the ObiParticleRenderer. This will render particles below the fluid surface, which is not what you want. You only want the fluid surface to be visible.

(24-10-2021, 01:04 PM)Volchok Wrote: 4. When starting the Fluid Viscosity scene, there is no liquid, but there are such messages in the console

- The BurstColliderWorld component is missing (and warnings appearing in your console) because you haven't installed the Burst dependencies. Note these aren't required for the engine to work and fluid to be rendered, but it will fall back to the native backend. These warnings can be safely ignored, you can even remove the BurstColliderWorld object if not going to use it. For more info, see backends: http://obi.virtualmethodstudio.com/manua...kends.html

Also, check this out for a broader picture of Obi's architecture: http://obi.virtualmethodstudio.com/manua...cture.html

Let me know if the issue persists.

kind regards
Reply
#4
(25-10-2021, 03:54 AM)CreepGin Wrote: In ObiParticleRenderer, you need to use the URP shader instead of the built-in one. The shader is at Obi/Resources/ObiMaterials/URP/ParticleShaderURP

Thanks! You are right!  Sonrisa
I tried using ParticleShaderURP and SimpleParticleShaderURP.

But I can't achieve the result as in the video.  Huh
I need the liquid exactly as in the video.
https://youtu.be/k5Uv5ecjVM0

[Image: Good-Fluids.png]


How do I configure the components so that I see the same liquid in the URP as in the video?

If I disable the Render checkbox, then everything disappears. Indeciso



(25-10-2021, 08:10 AM)josemendez Wrote: Hi there!


I just saw your email, it was written last friday at 21:44 local time. By then there was no-one in office, sorry! We seldom check emails/forums during weekends.

First, make sure you're actually using your URP rendering pipeline asset! Otherwise fluids won't show no matter what. The error message in your console complains about render features missing from your pipeline, but your pipeline has no missing render features. Maybe you're using a different one?


It's not working, only particles are visible. Even then, they're black because you're using a standard pipeline shader instead of a URP shader (as CreepGin points out in the post above mine)

Make sure you disable the "render" checkbox in the ObiParticleRenderer. This will render particles below the fluid surface, which is not what you want. You only want the fluid surface to be visible.


- The BurstColliderWorld component is missing (and warnings appearing in your console) because you haven't installed the Burst dependencies. Note these aren't required for the engine to work and fluid to be rendered, but it will fall back to the native backend. These warnings can be safely ignored, you can even remove the BurstColliderWorld object if not going to use it. For more info, see backends: http://obi.virtualmethodstudio.com/manua...kends.html

Also, check this out for a broader picture of Obi's architecture: http://obi.virtualmethodstudio.com/manua...cture.html

Let me know if the issue persists.

kind regards


Hi!

Thanks for the answer!  Sonrisa

I have started the liquid, but I can't make it look like in your video. 
https://youtu.be/k5Uv5ecjVM0

[Image: Good-Fluids.png]

How do I configure the components so that I see the same liquid in the URP as in the video?
If I disable the Render checkbox, then everything disappears. [Image: undecided.png]
https://youtu.be/bTg3xDH5z_o

Maybe the problem is in the shaders for URP?

[Image: Shader-URP-Warnings.png]

[Image: Shader-URP-Warnings.png]
Reply
#5
(25-10-2021, 11:10 AM)Volchok Wrote: How do I configure the components so that I see the same liquid in the URP as in the video?

If I disable the Render checkbox, then everything disappears. Indeciso

You should not enable the render checkbox in the particle renderer. This renders particles, not the fluid surface which is what you're interested in.

Are you 100% sure you're using the URP render pipeline asset you've configured for fluid rendering? Go to Edit-> Project Settings->Graphics, and make sure your URP pipeline asset (the one that contains the fluid renderer feature) is set as your SRP:

[Image: 7BPfIaM.png]
Reply
#6
(25-10-2021, 11:10 AM)Volchok Wrote: Maybe the problem is in the shaders for URP?

[Image: Shader-URP-Warnings.png]

These are just warnings about implicit truncations (which are fine and won't prevent the shader from working). Also, these are particle shaders, not fluid shaders. As mentioned before, this has nothing to do with fluid rendering.
Reply
#7
(25-10-2021, 11:20 AM)josemendez Wrote: You should not enable the render checkbox in the particle renderer. This renders particles, not the fluid surface which is what you're interested in.

Are you 100% sure you're using the URP render pipeline asset you've configured for fluid rendering? Go to Edit-> Project Settings->Graphics, and make sure your URP pipeline asset (the one that contains the fluid renderer feature) is set as your SRP:

[Image: 7BPfIaM.png]

[Image: URPSettings.png]



I was able to see in your Fluid Viscosity scene in the URP only such variant - but it does not look at all like what is in your video.
If I disable the Render checkbox, then everything disappears (The video is presented above).
Reply
#8
Hi,

Can't pinpoint what's wrong with your setup. Just tried following the URP setup video using Unity 2021.1.25f1, and fluid renders fine for me:

Would it be possible for you to send your project to support(at)virtualmethodstudio.com so that I can take a direct look at it? thanks!

[Image: NFRxueY.png]
Reply
#9
(25-10-2021, 11:32 AM)Volchok Wrote: I was able to see in your Fluid Viscosity scene in the URP only such variant - but it does not look at all like what is in your video.
If I disable the Render checkbox, then everything disappears (The video is presented above).[/font][/size][/color]

What you're seeing is not the fluid surface, it's the underlying particle representation. Obi can render either the particles, the fluid surface, or both. See:
http://obi.virtualmethodstudio.com/manua...ering.html

As stated above, the "render" checkbox in the ObiParticleRenderer must be disabled, so that particles are not visible. Assuming fluid has been set up correctly, the fluid surface should then be visible.
Reply
#10
(25-10-2021, 11:40 AM)josemendez Wrote: Hi,

Can't pinpoint what's wrong with your setup. Just tried following the URP setup video using Unity 2021.1.25f1, and fluid renders fine for me:

Would it be possible for you to send your project to support(at)virtualmethodstudio.com so that I can take a direct look at it? thanks!

[Image: NFRxueY.png]

I did everything as in your video step by step. I don't know why URP doesn't work as it should.

Ok!
I will send you this project soon to your mail, create again it step by step by video and send result in the last Unity Vertion.

Sonrisa  I understood what the problem was.  Sonrisa Sonrisa

Rather, I was misled by this article on connecting URP.  Confundido
How To Upgrade Your Project to URP in Unity 2021.2 <--------- DO NOT USE!  Enfadado
https://medium.com/nerd-for-tech/how-to-...10404935a7

Also, there is no Settings folder in your video, which is NOW created automatically when creating the Unity project of the URP in the latest version 2021.1.25a.

[Image: URPSetting-Folder.png]

I just had to go to Graphics, click there on the already existing Universal RP-High Quality and already configure it as shown in the video. Then everything works.

[Image: Graphics-URP.png]

I have 2 more questions for you.  Idea

1) Where to set the number of particles?
2) How do I calculate the volume of fluid in a cup?

Thanks!
Reply