Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feedback Change how to draw particle
#6
(25-01-2023, 09:04 AM)josemendez Wrote: As a side note, in Obi 7 the particle shader is implemented using Shader Graph. The main reason being we want to support HDRP, and hand-writing shaders for HDRP is close to impossible.
It'll be great! Thanks for your hard work.

(25-01-2023, 09:06 AM)josemendez Wrote: Ok, will take a look! Thanks for reporting it.

In the meantime, you can use ObiInstancedParticleRenderer to visualize the particles. It's a bit more inconvenient to use, but should do the trick since it doesn't use any SRP-specific shaders.

Edit: is the "depth texture" checkbox enabled in your URP pipeline asset? The particle shader performs depth testing against the scene, so if there's no depth buffer available they might not appear at all.

yes depth & opaque textures both enabled, using deferred rendering.

I'm using instanced particle renderer without issue. This is exactly what I wanted, thanks!
Reply


Messages In This Thread
Change how to draw particle - by spikebor - 25-01-2023, 07:28 AM
RE: Change how to draw particle - by josemendez - 25-01-2023, 08:45 AM
RE: Change how to draw particle - by spikebor - 25-01-2023, 09:03 AM
RE: Change how to draw particle - by josemendez - 25-01-2023, 09:06 AM
RE: Change how to draw particle - by josemendez - 25-01-2023, 09:04 AM
RE: Change how to draw particle - by spikebor - 25-01-2023, 09:09 AM