# console command TAA or MSAA

**URL:** <https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683>\
**Category:** Rendering\
**Tags:** msaa, unreal-engine, Anti-Aliasing, question\
**Created:** [March 19, 2015, 10:52am UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683 "2015-03-19T10:52:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigzer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bigzer](https://forums.unrealengine.com/u/bigzer)\
**Post date:** [March 19, 2015, 10:52am UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/1 "2015-03-19T10:52:18Z")

</div>

Is there a way to turn on MSAA or TAA in-game using console commands?  
Is there a way to know what AA is active?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 4, 2015, 11:58pm UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/2 "2015-10-04T23:58:28Z")

</div>

Same problem. Any feedback?

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [October 6, 2015, 6:04pm UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/3 "2015-10-06T18:04:10Z")

</div>

TAA can be enabled via using the console command for **r.PostProcessAAQuality**

The following values will enable specific features.

- 0: off
- 1: Very Low (Faster FXAA)
- 2: Low (FXAA)
- 3: Medium (Faster TemporalAA)
- 4: High (Default TemporallAA)
- 5: Very High
- 6: Max

There is currently no way to enable MSAA for general use. Right now, this can only be used with Mobile that uses a forward rendering path.

I hope this helps,

Tim

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 6, 2015, 9:17pm UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/4 "2015-10-06T21:17:40Z")

</div>

Thanks for your response! MSAA is available on all mobile devices? I’m running the same gearVR project on an S6 and on a note4 (lollipop) and on the note4 it does not seem to be enabled

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [October 6, 2015, 10:19pm UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/5 "2015-10-06T22:19:54Z")

</div>

its in the release notes for 4.9

- New: MSAA is now enabled by default when running on GearVR on Galaxy Note 4 and Galaxy S6 devices. You can disable this by setting gearvr.EnableMSAA=0 in your ConsoleVariables.ini file.

In my test project for Gear VR MSAA appears to be enabled. If you’re having trouble with MSAA not working, I would urge you to post a new question since that is out of the scope of the original question here and if anyone else runs into the issue it would be easier to track and locate.

Thank you!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 12, 2015, 10:29am UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/6 "2015-10-12T10:29:32Z")

</div>

Ok, thanks. Just a quick question here: how do you tell if it is enabled or not? any console command or log?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_389e656c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_389e656c](https://forums.unrealengine.com/u/anonymous_user_389e656c)\
**Post date:** [October 12, 2015, 10:44am UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/7 "2015-10-12T10:44:22Z")

</div>

By the way, I did open a separate post, but no feedback at the moment.

> **[\[4.9\] GearVR MSAA](https://forums.unrealengine.com/questions/313158/49-gearvr-msaa.html)**
>
> I’m using UE4.9 with GearVR. MSAA is supposed to be enabled by default with this version, but I’m sill seeing lots of very visible jaggies. How can I check if the antialiasing is actually enabled and working?

---

<div class="post-metadata">

**Author:** ![Threshold\_Seven](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Threshold\_Seven](https://forums.unrealengine.com/u/Threshold_Seven)\
**Post date:** [March 17, 2017, 7:23pm UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/8 "2017-03-17T19:23:24Z")

</div>

Have the corresponding commands changed at all since this post? Only 0, 1 and 3 seem to work, OFF, FXAA on or TAA on respectively. 2,4,5 and 6 seem to make no change whatsoever or to be more precise 1 and 2 seem like the same settings and 3,4,5 and 6 seem the same. How can I check what these console commands are actually affecting?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6243cdba](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6243cdba](https://forums.unrealengine.com/u/anonymous_user_6243cdba)\
**Post date:** [September 19, 2017, 6:45am UTC](https://forums.unrealengine.com/t/console-command-taa-or-msaa/311683/9 "2017-09-19T06:45:30Z")

</div>

MSAA on deffered was in UE3, they scraped it because consoles couldn’t take it. Much less expensive than SSAA or blurry DSR. Here’s how to do it, if you want to add it to the source code of UE4:

1. Clear stencil, Set stencil write
2. Pass 1:  
if heuristic(depth/normal) do discard  
else shade per pixel
3. Activate stencil test
4. Pass2:  
shade per fragment

Simple as hell to pull off, looks more fantastic than any motionblurry temperal effect. I believe Assassin’s creed uses this method as well, but got a little help from nvidia for CSAA options. I hope someone makes a fork with the old method reimplemented.
