- Home /
How to invert culling for HDRP?
I tried putting GL.invertculling
into OnPostRender()
and it didn't work.
Also tried inverting in RenderPipelineManager.beginCameraRendering
and RenderPipelineManager.endContextRendering
. Still didn't work.
Comment
Answer by DeJMan · Apr 13 at 12:18 PM
On the camera, get the component for the "HD Camera Additional Data" and invert the culling there.
cam.GetComponent<HDAdditionalCameraData>().invertFaceCulling = true;
Asked and answered this myself as I couldn't find a solution for this online.
Your answer
![](https://koobas.hobune.stream/wayback/20220613055331im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Flip The Entire Output in App 0 Answers
Using transform.localScale to flip object 1 Answer
Mirror flip using scale -1 3 Answers
Flip a render texture? 2 Answers