Download

What is the difference between sg.AntiAliasingQuality and sg.AntiAliasingQuality.NumLevels ?

What is the difference between sg.AntiAliasingQuality and sg.AntiAliasingQuality.NumLevels ?

Ive been searching the documentation and I haven’t been able to find anything regarding sg.AntiAliasingQuality.NumLevels

sg.AntiAliasingQuality: “Scalability quality state (internally used by scalability system, ini load/save or using SCALABILITY console command)”

values: "0:low, 1:med, 2:high, 3:epic, 4:cinematic, default: 3"

sg.AntiAliasingQuality.NumLevels: “Number of settings quality levels in sg.AntiAliasingQuality”

values: "default: 5 (0..4)"

I guess it is as simple as it sounds!

Interesting. It sets how many options there are in sg.AntiAliasingQuality
But… how does a change to .NumLevels actually effect quality? Does setting .NumLevels to 2, just prevent sg.AntiAliasingQuality from being set higher than 1:med? or can you specify which two quality levels are available? Does it do anything if you set .NumLevels to more than 5?

… Or, is this a source development option for engine programmers that expand or customize the engine’s AA?

The .NumLevels is a read-only variable, meaning that it cannot be changed by the user from the console, but you can change that through c++.

It seems to be used only as utility to loop over the AA levels and clamp the value to the max allowed.