HDRP Camera weapon layer

I am testing out the HDRP and I am trying to create a weapon layer on the weapon camera to only show gameobjects with the “weapon layer”. However I don’t understand how to make it work as it doesn’t render the weapon layer at all.


Hey, I saw this question didn’t have an answer so I’ll give you one just in case you’re still stuck.
I think I see the problem here. Try setting the ‘Depth’ value (under ‘Output Settings’) on the Weapon camera to a higher number than the main camera. This is so the weapon is layered on top of the scene.
Hope this helps!