OpenGL and Light
Richard
legalize+jeeves at mail.xmission.com
Sun May 4 08:50:39 PDT 2008
[Please do not mail me a copy of your followup]
wx-users at lists.wxwidgets.org spake the secret code
<mailman.7.1209884969.27688.wx-users at lists.wxwidgets.org> thusly:
>I'm trying to get light to work, but when I enable lighting it doesn't
>accept color values between 0.0f and 1.0f;
What exactly do you mean by this? The light values are directly given
to OpenGL; wxWidgets is not in play there.
>if the value is >0.0f it is
>set to 1.0f, so the color is either full on or full off
What specifically are you referring to by 'the value'?
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Legalize Adulthood! <http://blogs.xmission.com/legalize/>
More information about the wx-users
mailing list