Post

 Resources 

Console


Point Lights - Why won't they just go away!??!? PyroBoy (9 replies, 0 views) (2000-Aug-22)
-
I'm currently dealing with several unruly and possibly intoxicated D3DIM point light sources that will not get the hell out of my scene when I ask them to... :-) Does RenderingDevice.LightEnable(LightIndex, True/False) not enable/disable a light inside a scene? I set my lights to enable when they're created, and they shine their little hearts out, but the time comes to remove them from the scene, so the above function gets called with the corresponding light index and False, but the light doesn't go out. What's up? Do I have to pass an empty D3DLIGHT7 structure at the SetLight function with the same index of the offending light to shut it off? I'm sure that would work, but if that's the only way to do it, what did MS include this dandy LightEnable function for?


-
Back to Forum

General tip Corre (8 replies) (2000-Aug-22)
Reference Drivers Jack Hoxley (1 reply) (2000-Aug-23)
RE: Reference Drivers Corre (0 replies) (2000-Aug-23)
RE: General tip PyroBoy (5 replies) (2000-Aug-23)
RE: General tip Corre (4 replies) (2000-Aug-23)
RE: General tip PyroBoy (3 replies) (2000-Aug-23)
Try it(Not like I know anything, but Corre does)nt Rag on a Stick (2 replies) (2000-Aug-24)
Aaahh... Rag on a Stick (1 reply) (2000-Aug-24)
Hmmm. PyroBoy (0 replies) (2000-Aug-24)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 168 visitors within the last 20 minutes
RSS News Feed