HDRP Template issues with Particle System Vertex Streams

Node-based Shader Editor
Post Reply
DuvE
Posts: 43
Joined: Thu Nov 23, 2017 6:46 pm

HDRP Template issues with Particle System Vertex Streams

Post 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.
Attachments
HDRPCase01.zip
(31.63 KiB) Downloaded 277 times
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: HDRP Template issues with Particle System Vertex Streams

Post 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.
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
DuvE
Posts: 43
Joined: Thu Nov 23, 2017 6:46 pm

Re: HDRP Template issues with Particle System Vertex Streams

Post by DuvE »

Unity 2018.2.1f1
SRP - HDRP 3.0
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: HDRP Template issues with Particle System Vertex Streams

Post by Ricardo Teixeira »

DuvE wrote:Unity 2018.2.1f1
SRP - HDRP 3.0
Thanks, we'll get back to you as soon as possible.
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: HDRP Template issues with Particle System Vertex Streams

Post 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.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply