It provides anti-aliasing for alpha-masked edges.Mendel said:So what does it actually do, in layman terms?
bloodbob said:I'd recommend not using this on punkbuster or anything with anti-cheating technology. ( Since its an opengl hook and I know valve doesn't like users running them ).
Mordenkainen said:Btw, after running it I get a "SmartShaderErrorLog.txt" file with the following: "Line 1: Cannot open source file '--NONE--'".
Ragemare said:Can this be put into the ATi drivers, along with a DX version as well?
Humus said:Mordenkainen said:Btw, after running it I get a "SmartShaderErrorLog.txt" file with the following: "Line 1: Cannot open source file '--NONE--'".
Eh, where do you get that file? It's certainly not from this dll. I guess you have some smartshader effect enabled?
Ya figured that out when my fps was around 10< with my 6600GTMordenkainen said:Humus said:Mordenkainen said:Btw, after running it I get a "SmartShaderErrorLog.txt" file with the following: "Line 1: Cannot open source file '--NONE--'".
Eh, where do you get that file? It's certainly not from this dll. I guess you have some smartshader effect enabled?
If I remove both your files, run D3 and quit the file is not there. If I put the opengl32.* files in, run D3 and quit the file is created.
No, I don't have any smartshader enabled.
Radeonic2: Assuming you installed it in the default dir it should be in C:\Program Files\Doom 3
I think the topic of this thread proves that ATI can follow...geo said:I've only been semi-following the several threads on this area. One thing I'm not clear on --is the consensus this is a software-only solution that NV has come up with and that therefore ATI can follow at more-or-less the same fps cost?
There seems to be support for a modified alpha to coverage mapping, but I think it's mostly useless, and it could be done with a single scalar mad_sat instruction in the pixel shader as well.Or is there any evidence there is some hardware acceleration going on here specific to G70, whatever software h/a/c/k/s/ wizardry has been applied as well?
geo said:I've only been semi-following the several threads on this area. One thing I'm not clear on --is the consensus this is a software-only solution that NV has come up with and that therefore ATI can follow at more-or-less the same fps cost? Or is there any evidence there is some hardware acceleration going on here specific to G70, whatever software h/a/c/k/s/ wizardry has been applied as well?
I have to somewhat disagree with that. Discontinuities aka edges are not the problem, they are in fact usually the purpose of alpha test. The problem is that it is somewhat hard to impossible to have mipmaps represent the exact "shape" that's encoded in the base map. But with a little care when creating mipmaps, one can at least improve the result a bit. For minification, alpha-blend and alpha-to-coverage do indeed give better results. With magnification however, they result in blur.Humus said:The problem is that supersampling doesn't solve the underlying problem, that alpha-testing introduces discontinuities, so while it reduces aliasing it just pushed the problem down a mipmap level or so. What you want is to map alpha to transparency directly to properly work with mipmapping. This is what alpha-to-coverage does, while keeping the order independence like alpha-test but unlike alpha-blend. It's a sort of hack too, but it works pretty well in practice most of the time.
Well, both supersampling and alpha-to-coverage are "hardware accelerated". But there's no point in having hardware logic that decides whether something is needed depending on render states. The driver can do that just as well.geo said:Thanks. What I got out of that is there are three solutions to the problem, and NV has hardware accelerated the easiest (and least satisfactory from a robust results pov) of the three.
I guess that's a bug. On my Mobility Radeon 9600, Humus' a2c-Demo shows a drop between 0% and 20% (<5% average) going from alpha-test to alpha-to-coverage.Edit: Whups, I missed Xmas response to my original. ATI can follow at reasonable performance trade-off without new hardware support? Yes, I know that is subjective. . .but I saw a 6600GT getting 10fps upstream. . .