x


Render Texture and antialiasing

Hi,

First I want to say that I know that there is a problem in doing this...

In Quest3D one can use backbuffer rendering for the Render Texture and with this option (which has its own problems) antialiasing will work. The question can this somehow be done in Unity?

Thanks

more ▼

asked Dec 21 '09 at 10:12 AM

Davain gravatar image

Davain
34 1 1 6

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

For now Unity doesn't support anti-aliasing on render textures.

If you would like to see this feature in a future release of Unity, please vote for it on the feedback forum: Graphics: Anti-Aliased Render Texture support

As a workaround, you can try making the texture higher resolution and then displaying it in a smaller resolution - this will give you the AA look but the performance won't be as good as with proper MSAA.

more ▼

answered Dec 22 '09 at 01:33 PM

robert gravatar image

robert ♦
1.1k 3 7 27

Thats what I was afraid of.

Dec 23 '09 at 11:06 AM Davain

Try the "rendering into the higher resolution and then downscaling" approach. As long as whatever you were rendering into the render texture is not fillrate bound - you should be good.

Dec 23 '09 at 01:58 PM robert ♦

The only problem I already use 2048x2048 :)

Dec 23 '09 at 06:31 PM Davain

Ugh, that's a big one. I hate to say that, but you might have to wait until we add the AA'd render texture support - and even then not all hardware will support it, of course. ;)

Dec 25 '09 at 07:51 PM robert ♦

Thank you for your answer. I will have to wait then :)

Dec 25 '09 at 08:06 PM Davain
(comments are locked)
10|3000 characters needed characters left

On your Render Texture, change the Filter Mode to 'Trilinear' - this should give you the antialiasing effect. let me know if this doesn't work out.

more ▼

answered Dec 21 '09 at 11:31 AM

BL gravatar image

BL
26 1 1 4

Nope, this doesn't help. The problem is not the antialising of the texture itself but of the scene geometry that is being rendered to this texture.

Dec 21 '09 at 04:31 PM Davain
(comments are locked)
10|3000 characters needed characters left

Has the anti-aliasing feature for RenderTexture been added to Unity 4 ?

more ▼

answered Dec 10 '12 at 08:56 AM

franky303 gravatar image

franky303
100 2 6 9

No it hasn't, please go here and vote for it:

http://feedback.unity3d.com/unity/all-categories/1/hot/active/graphics-antialiased-render-te

Hopefully then they will get around to putting it in.

Mar 06 at 10:54 AM waspfarmer2
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3013
x2207
x492

asked: Dec 21 '09 at 10:12 AM

Seen: 4117 times

Last Updated: Mar 06 at 10:54 AM