Search Unity

Render Feature, settings per camera, from script

Discussion in 'Universal Render Pipeline' started by jeroenvdv, Apr 24, 2020.

  1. jeroenvdv

    jeroenvdv

    Joined:
    Oct 25, 2010
    Posts:
    52
    Let's say I have a variable amount of cameras (changes dynamically from script during runtime). All cameras are rendering to RenderTextures. I would like to add (custom, because I need full alpha support) Post Processing effects to them.

    I've researched everything and custom render features seem to be the new way to go as the integrated PostProcessingStack nor the PostProcessingStackV3 will support alpha (like the PPSv2 actually did, only not for all effects which is of course logical and no problem).

    However, I need to be able to set all different render feature property's (e.g. bloom amount, color correction curve, glitch-FX enabled/disabled, etc.) for each camera seperately from script. How would I do this in the current architecture of URP?
     
    deus0 likes this.