- Home /
HDRP Camera weapon layer
Hello, 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.
Is the weapon on the weapon layer? Post a picture of the weapons inspector settings.
Hi, the weapon gameobject is on the weapon layer and I got that working on the default render pipeline but have no luck with HDRP.
Answer by clutchkuda · Nov 22, 2020 at 09:44 PM
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!