Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.2d_graphics,scee.yaroze.programming.3d_graphics Subject: Re: Obtaining the current light mode and fog settings Date: Sat, 13 Jun 1998 11:15:33 +0100 Organization: Sony Computer Entertainment Europe Lines: 8 Message-ID: <35825145.C98B9DCD@scee.sony.co.uk> References: <6bvl23$bej10@chuka.playstation.co.uk> NNTP-Posting-Host: camfw01.millennium.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) Xref: chuka.playstation.co.uk scee.yaroze.programming.2d_graphics:397 scee.yaroze.programming.3d_graphics:625 Steve Dunn wrote: > > I understand that the light mode can be set using GsSetLightMode, but is > there a way of 'getting' the current light mode ? The mode is stored in an internal variable, but I'm not sure if it's exported, and therefore accessable. Try accessing the global variable GsLIGHT_MODE.