# UseFXAA by default

**URL:** https://discourse.vtk.org/t/usefxaa-by-default/2390
**Category:** Support
**Created:** [January 8, 2020, 12:01am UTC](https://discourse.vtk.org/t/usefxaa-by-default/2390 "2020-01-08T00:01:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![santichialvo](https://discourse.vtk.org/user_avatar/discourse.vtk.org/santichialvo/32/1248_2.png) [@santichialvo](https://discourse.vtk.org/u/santichialvo)
#### Post date: [January 8, 2020, 12:01am UTC](https://discourse.vtk.org/t/usefxaa-by-default/2390/1 "2020-01-08T00:01:26Z")

</div>

Hi everyone,

In order to avoid antialiasing, there is the possibility to use UseFXAAOn() on every created render. I wanted to ask if there is a way to make this option enabled by default.

Regards,  
Santiago.

---

<div class="post-metadata">

### Author: ![banesullivan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/banesullivan/32/7143_2.png) [@banesullivan](https://discourse.vtk.org/u/banesullivan)
#### Post date: [January 8, 2020, 8:12pm UTC](https://discourse.vtk.org/t/usefxaa-by-default/2390/2 "2020-01-08T20:12:09Z")

</div>

You could subclass the vtkRenderer then overrode the init function to always turn it on. Afterwards in your software, just use your subclass of the vtkRenderer
