Advertisement

MultiSampling and color depth

Started by February 26, 2005 10:33 AM
-1 comments, last by venomelektro 20 years ago
Hi, I just implemented multisampling in my engine (based on nehe tut #46) is it possible to use multisampling with a 16 bits color depth , how to ?

int iAttributes[] =
	{
		WGL_DRAW_TO_WINDOW_ARB,GL_TRUE,
		WGL_SUPPORT_OPENGL_ARB,GL_TRUE,
		WGL_ACCELERATION_ARB,WGL_FULL_ACCELERATION_ARB,
		WGL_COLOR_BITS_ARB,24,
		WGL_ALPHA_BITS_ARB,8,
		WGL_DEPTH_BITS_ARB,16,
		WGL_STENCIL_BITS_ARB,0,
		WGL_DOUBLE_BUFFER_ARB,GL_TRUE,
		WGL_SAMPLE_BUFFERS_ARB,GL_TRUE,
		WGL_SAMPLES_ARB,4,
		0,0
	};

in 32 bits WGL_COLOR_BITS_ARB = 24 and WGL_ALPHA_BITS_ARB = 8 but what to put in 16 bits mode ?

This topic is closed to new replies.

Advertisement