Code: Select all
NodeLight1 = Dev.SceneManager.AddLightSceneNode(null, new Vector3D(0, 25, 0), new Colorf(0.065f, 0.065f, 0.075f, 0.0f), 25f, -1);
Irrlicht.Video.Light light = NodeLight1.LightData;
light.DiffuseColor = new Colorf(0.75f, 0.75f, 0.8f);
light.SpecularColor = new Colorf(0.25f, 0.25f, 0.2f);
NodeLight1.LightData = light;
what do i wrong?
im currently using Irrlicht 1.2 and the .NET Wrapper from here
pls excuse my bad english, its quite rusty