Obi Official Forum
Help Particle Rendering 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: Help Particle Rendering In URP (/thread-3455.html)



Particle Rendering In URP - littleaa - 16-05-2022

Hello, I've come across some problem on rendering with URP. 
If I use builtin, I can enable the property [Render] in ObiParticleRenderer to render paticles, but when I use URP, it just renders fluid. Does Obi support rendering paticles instead of fluid in URP ?


RE: Particle Rendering In URP - josemendez - 16-05-2022

(16-05-2022, 12:57 PM)littleaa Wrote: Hello, I've come across some problem on rendering with URP. 
If I use builtin, I can enable the property [Render] in ObiParticleRenderer to render paticles, but when I use URP, it just renders fluid. Does Obi support rendering paticles instead of fluid in URP ?

Yes, you must use ParticleShaderURP.shader as your shader for the ObiParticleRenderer. You can find it in Obi/Resources/ObiMaterials/URP, as stated in the manual:

http://obi.virtualmethodstudio.com/manual/6.3/fluidrendering.html

Simple replace the particle shader that's used by default (in the ObiParticleRenderer component inspector) by this one.