The Antialiasing in the demo is incorrectly set, while in DX works just fine, the value that is expected in GL doesn't seem to have any meaning.
Code: Select all
params.AntiAlias=aa;//The aa variable is actually a Bool
It is an error which has been there for a long time already, and obviously hasn't been fixed. While in the release versions of Irrlicht, the antialiasing was meant to be enabled or disabled as a toggle, the SVN version used a value indicating the quality of the antialiasing used. In fact, it is more useful to have the antialiasing as a value, indicating the amount of samples we want to use. Hence, something like this:
Or any other aa value for OpenGL which works as expected, is the right way to go now. And works.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt