[SDL] Re: sdl GL with stencil buffer
shadows at ihug.co.nz
Wed Apr 26 21:23:54 PDT 2000
Damn that means I cant use shadows/reflection or anything !! ugg ! I
was looking foward to doing that.
Voodoo banshee cards do do multi texture dont they ?? I tried that
out and it went awful slow .... if they dont then how does quake3
do its multi texture on the voodoo ?
On Wed, 26 Apr 2000, you wrote:
> Voodoo cards doesn't have stencil buffer.
> GLX is unable to satisfy your request.
> Oliver Batchelor wrote:
> > using the below code without the stencil buffer line It works fine
> > but with the stencil buffer line it starts and bombs out with :
> > "Unable to create OpenGL screen: could not determine glx visual info"
> > this is using SDL ver 1.1.2 and XFree86 4 with the opengl Dri for
> > voodoo banshee working perfectly ....
> > SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
> > SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5);
> > SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
> > SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
> > SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
> > SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE, 2 );
> > SDL_SetVideoMode(w, h, 16, SDL_OPENGL | SDL_FULLSCREEN)
> > thanks,
> > Oliver Batchelor
More information about the SDL