RenderTexture antialiasing

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
saladin
Halfling
Posts: 43
Joined: Sat Nov 05, 2005 12:49 pm

RenderTexture antialiasing

Post by saladin »

Hi,
I'm wondering if there's a way to apply antialiasing for a render texture with the main window render options 'FSAA' = '0'. I use renderSystem to create the renderTexture.

I understand how when the main window has FSAA, the texture has FSAA too. But if the main window doesn't have FSAA, no matter how much antialiasing I have for secondary/subwindows, the screenshot turned out to have ugly jagged edges.

Is there a way to fix this? Any help would be appreciated.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

AA on render textures was only added in Shoggoth (CVS HEAD). You enable it by supplying the extra 'fsaa' option when creating the texture.

Compositors automatically take advantage of this feature. They detect if you're using fsaa on the viewport you attach them to, and then they create all the render textures that have a 'render scene' operation with the same AA option. If you're creating your own RTTs you have to request it yourself.
User avatar
saladin
Halfling
Posts: 43
Joined: Sat Nov 05, 2005 12:49 pm

Post by saladin »

Awesome, looking forward to it!
Post Reply