Anti-Aliasing problem

Posted By: Ch40zzC0d3r

Anti-Aliasing problem - 01/08/15 00:52

Hey guys, I just noticed a thread talking about anti-aliasing here and took a look at my game.
I already added the feature without even checking if it works and well, that doesnt look like it does or?

(rightclick and show graphic for full resolution)


Code:
function main()
{
      d3d_antialias = 9;
      ....
}



I read up on this function again and found this:
Quote:
In Lite-C this variable has to bet set on the first frame and before each level_load() - or wait() call.


I dont quite understand it, since the variable never changes so why should I reset it to 9 again?
Thanks in advance! laugh
Posted By: MasterQ32

Re: Anti-Aliasing problem - 01/08/15 02:26

You have post processing activated. Default GPU Anti-Alias doesn't work with post processing
Posted By: Kartoffel

Re: Anti-Aliasing problem - 01/08/15 05:49

I can give you my smaa port to lite c (the shader files) but you'll have to implement it yourself.

...or you just use an smaa injector
dirty hack but works aswell
Posted By: Ch40zzC0d3r

Re: Anti-Aliasing problem - 01/08/15 10:20

@MasterQ32 Thanks! Nice to know.. didnt see that anywhere in the manual....
@Kartoffel Would be really nice of you laugh
If I dont get it working I will try an injector
Posted By: MasterQ32

Re: Anti-Aliasing problem - 01/08/15 13:55

Originally Posted By: http://www.conitec.net/beta/d3d_antialias.htm
Scene antialiasing does not work on render targets. For this reason a render target z buffer in the initial size of the screen buffer is automatically created when this variable is set.
© 2024 lite-C Forums