View Full Version : zbuffer writing without rendering
05-10-2005, 04:17 AM
i'd like to write a geometry in the zbuffer without rendering it on the screen, but can't find how to do that.
any idea ?
05-10-2005, 04:21 AM
Not an advanced question, you know. ;)
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE);
05-10-2005, 04:26 AM
sorry for that, and thanks for the answer ;-)
05-10-2005, 12:16 PM
Don't forget to finish with
glColormask( GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE );
:) :) :)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.