Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Resolved Can no longer set reflection probe resolution in code

Discussion in 'High Definition Render Pipeline' started by andyz, Dec 15, 2020.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,152
    This was for planar reflection probe resolution which could be set in code in v8 but not in v10
    It was a bit hacky though:
    probe.settingsRaw.resolution = PlanarReflectionAtlasResolution.PlanarReflectionResolution256;

    However you must be able to set probe resolution via script surely, so how now?
     
  2. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,152
    Well seems now you do
    probe.settingsRaw.resolutionScalable.@override = PlanarReflectionAtlasResolution.Resolution256;

    which is curious and much changed!