HDRP Template issues with Particle System Vertex Streams
Posted: Mon Oct 01, 2018 9:27 am
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.
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.