Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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,363
    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,363
    Well seems now you do
    probe.settingsRaw.resolutionScalable.@override = PlanarReflectionAtlasResolution.Resolution256;

    which is curious and much changed!