Skip to main content
GameDev.net gamedev.net
🔒 Locked

GL_MULTISAMPLE_ARB howto

Started by Alessandro Dec 30, 2006 at 7:04 PM 2 replies 10.1k views
Eitsch
Eitsch
create multisampled ogl context. in sdl you can use a SDL_SetAttribute with SDL_GL_MULTISAMPLEBUFFERS and SDL_GL_MULTISAMPLESAMPLES or something like that.then just enable multisampling with glEnable(GL_MULTISAMPLE)

you can query sample buffers somehow like that:
glGetIntegerv(GL_SAMPLE_BUFFER_ARB,restult);
and GL_SAMPLES_ARB as argument
As-12
As-12
Hi and Happy new year people.
There is a tutorial on NeHe Productions. Lesson 46 (Fullscreen Anti Aliasing)
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=46
There is an example with a specific compiers.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.