Search Unity

AA on Windows Phone 8

Discussion in 'Scripting' started by martin.developer, Aug 28, 2014.

  1. martin.developer

    martin.developer

    Joined:
    Oct 9, 2012
    Posts:
    15
    Hi,

    I setting AA in my game using QualitySettings, but on WP8 this setting is "ignored" and the AA doesnt work (visually).

    Is there any way how to enable AA on WP8?

    Thank you.
     
  2. Glockenbeat

    Glockenbeat

    Joined:
    Apr 24, 2012
    Posts:
    670
    When chaning quality settings during runtime you will need to determine whether "expensive changes" should be applied to - AA is such a change. Have a look at the method here:
    http://docs.unity3d.com/ScriptReference/QualitySettings.SetQualityLevel.html

    It's true by default, so I assume you are using IncreaseLevel() and DecreaseLevel() instead - this won't apply those changes by default, so you'll need to set the bool parameter to be true:
    http://docs.unity3d.com/ScriptReference/QualitySettings.IncreaseLevel.html

    Edit: A while back there were issues with AA on WP8 as I found out which meant it was not supported. This way a year ago though, so I would assume that it _should_ have changed by now.