Search Unity

Switching between HDRP to URP for WebGL export

Discussion in 'Universal Render Pipeline' started by Remi_Tribia, Nov 4, 2019.

  1. Remi_Tribia

    Remi_Tribia

    Joined:
    Apr 29, 2015
    Posts:
    40
    Hi,

    We plan on being able to export our app to desktop and WebGL. What would be the cleanest/easiest way to switch between the two? We could simply make everything using URP but it lacks some nice post-processing effects, and precomputed dynamic GI which would add a lot to the visuals...

    What would be the most practical way of doing this?

    Making 2 separate projects for each RP and synchronize assets and logic in each one? It would be error prone and time consuming.

    But on the other hand I don't think converting materials/shaders manually (or via the automatic converter) and removing post effects etc. each time we want to export to one platform or the other is a viable solution either...

    Cheers!