Page 1 of 1

HDRP Template issues with Particle System Vertex Streams

PostPosted: Mon Oct 01, 2018 9:27 am
by DuvE
Hi,

I have some weird issues with PS Vertex Streams and HDRP PBR Template.
When I'm trying to send Particle Center positions to the shader via Vertex Streams everything works fine, but when I also plug in some Normal Texture to the Normal input in a shader, it suddenly breaks. For some reason, when a Normal texture is plugged, only the Z position of particles translated to the shader. I think, HDRP using some UV2 and UV3 for calculations, and because particle center position is presented like (UV1.zw + UV2.x) only UV2.x is sent correctly.

There is Case Scene in attachments. I've just plugged particle center position into Emission for the first shader, and for a second I've also plugged Normal texture.

Re: HDRP Template issues with Particle System Vertex Streams

PostPosted: Mon Oct 01, 2018 10:08 am
by Ricardo Teixeira
DuvE wrote:Hi,

I have some weird issues with PS Vertex Streams and HDRP PBR Template.
When I'm trying to send Particle Center positions to the shader via Vertex Streams everything works fine, but when I also plug in some Normal Texture to the Normal input in a shader, it suddenly breaks. For some reason, when a Normal texture is plugged, only the Z position of particles translated to the shader. I think, HDRP using some UV2 and UV3 for calculations, and because particle center position is presented like (UV1.zw + UV2.x) only UV2.x is sent correctly.

There is Case Scene in attachments. I've just plugged particle center position into Emission for the first shader, and for a second I've also plugged Normal texture.


Hello,

Thank you for reporting the issue. Although we don't currently offer an HD Particle Template, I'll pass this on to the responsible developer for further examination.

What's your current SRP and Unity version?

We'll keep you posted on any related developments.

Re: HDRP Template issues with Particle System Vertex Streams

PostPosted: Mon Oct 01, 2018 11:19 am
by DuvE
Unity 2018.2.1f1
SRP - HDRP 3.0

Re: HDRP Template issues with Particle System Vertex Streams

PostPosted: Mon Oct 01, 2018 11:24 am
by Ricardo Teixeira
DuvE wrote:Unity 2018.2.1f1
SRP - HDRP 3.0


Thanks, we'll get back to you as soon as possible.

Re: HDRP Template issues with Particle System Vertex Streams

PostPosted: Thu Nov 22, 2018 4:21 pm
by Amplify_Borba
Hello, apologies for the delay in our response!

Unfortunately, the HD template is not meant to be used with Unity's particle system since it uses the UV1 and UV2 to receive data, which will conflict with the vertex stream.

You'll need to use our 'Particles Alpha Blended' Template in this situation, which should work without any issues.

Please don't hesitate to get back in touch if you have any further questions.