• Advertisement
Sign in to follow this  

problem in light

This topic is 3831 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i want to show a shiny object in my frame work i write these code ( c# ): _device.Lights[3].Type = LightType.Point; _device.Lights[3].Ambient = Color.White; _device.Lights[3].Diffuse = Color.White; _device.Lights[3].Specular = Color.White; _device.Lights[3].Range = 10000; _device.Lights[3].Attenuation0 =0f; _device.Lights[3].Attenuation1 = 0.01f; _device.Lights[3].Attenuation2 = 0.01f; _device.Lights[3].Range = 100000; _device.Lights[3].Enabled = true; _device.Lights[3].Update(); but nothin appeare in my frame work please help

Share this post


Link to post
Share on other sites
Advertisement

This topic is 3831 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Advertisement