Path: chuka.playstation.co.uk!news From: "Jan-Lieuwe Koopmans" Newsgroups: scee.yaroze.programming.2d_graphics,scee.yaroze.programming.3d_graphics Subject: Re: Obtaining the current light mode and fog settings Date: Fri, 12 Jun 1998 21:42:42 +0200 Organization: PlayStation Net Yaroze (SCEE) Lines: 39 Message-ID: <6ls0bb$s9814@chuka.playstation.co.uk> References: <6bvl23$bej10@chuka.playstation.co.uk> NNTP-Posting-Host: amf1186.wxs.nl X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Xref: chuka.playstation.co.uk scee.yaroze.programming.2d_graphics:396 scee.yaroze.programming.3d_graphics:622 >Excuse me if I'm being thick, but... > >I understand that the light mode can be set using GsSetLightMode, but is >there a way of 'getting' the current light mode ? > >( ditto for the fog settings ) > > >Any help appreciated > > > >Steve Dunn > You could keep a copy of the parameters. This way you can always see what's the current Light Mode. So, something like this: // *** u_short CurrentLightMode = 0; void SetLightMode (u_short mode) { CurrentLightMode = mode; GsSetLightMode (mode); } // *** As far as I know there is no other way... Greets, Jan-Lieuwe