Hi everybody
Since now, to disable Post-processing effect by script I find the Volume script in the scene and I disable it.
Except I noticed that if I manually disable it by unchecking the “Post-processing” option in the URP asset, I have 2 draw call less (Mobile optimization) . And similarly if I deactivate the “Post-processing” directly on the camera.
The problem is that I can’t find how to disable it by script…
I searched all camera parameters with GetComponent().
And no post-processing option to disable .
So I tried to find to disable it directly into UniversalRenderPipelineAsset… I Can’t fint anything related to Post-processing by script …
I can’t acess to the “rendering list” that take Renderer Data
If someone can explain me how to do it i’ll really appreciate !
Have a good day !