Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Is it possible to turn shading from lights off?

Author
Message
Mech Grenadier
16
Years of Service
User Offline
Joined: 12th Jul 2008
Location:
Posted: 4th Sep 2008 21:11
For the graphics style I'm looking for, i need to turn off the shading . Is this possible?

^_^
Try
20
Years of Service
User Offline
Joined: 16th Aug 2004
Location:
Posted: 4th Sep 2008 22:36
@Mech Grenadier,
Sure it is
Quote: "dbSetObjectLight ( int iID, bool bLight );"


iID = The object ID
bLight = True/False to enable or disable hardware lighting

Good luck,
Cheers,
-Try
Mech Grenadier
16
Years of Service
User Offline
Joined: 12th Jul 2008
Location:
Posted: 5th Sep 2008 00:18
Yes, but that makes the mesh go all white, because it turns off the diffuse colors

^_^
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 5th Sep 2008 07:06
Diffuse is part of the lighting calculation, just texture the object with something and disable lighting on it.

Try
20
Years of Service
User Offline
Joined: 16th Aug 2004
Location:
Posted: 5th Sep 2008 13:40
Quote: "Yes, but that makes the mesh go all white, because it turns off the diffuse colors"

No, it doesn't turn the diffuse colors off, if you're getting just white meshes, that's probably because of the fact that you haven't set any vertex colors, etc. (use vertex paint modifier if you're using 3dsmax!)

OR just do as dark coder said, texture the object (with/without shadow/light maps, etc.)

-Try
Mech Grenadier
16
Years of Service
User Offline
Joined: 12th Jul 2008
Location:
Posted: 5th Sep 2008 22:43
Quote: "Diffuse is part of the lighting calculation, just texture the object with something and disable lighting on it."


i tried that, it still turns white

^_^

Login to post a reply

Server time is: 2024-09-30 05:28:10
Your offset time is: 2024-09-30 05:28:10