Search found 2 matches

by AlexvtVeer
Mon Jun 04, 2007 7:08 pm
Forum: Beginners Help
Topic: Problem with lightnode
Replies: 5
Views: 582

Ok I changed this, now the code looks like this: LightSceneNode lightNode1 = smgr.AddLightSceneNode(smgr.RootSceneNode, new Vector3D(xpos, ypos, zpos), new Colorf(1.0f,1.0f,1.0f,1.0f), 200.0f, 10006); Light light = lightNode1.LightData; light.AmbientColor = new Colorf(0.065f, 0.075f, 0.75f, 0.8f); l...
by AlexvtVeer
Mon Jun 04, 2007 2:37 pm
Forum: Beginners Help
Topic: Problem with lightnode
Replies: 5
Views: 582

Problem with lightnode

Hi I tried to add lighting to my scene but nothing is actually showing up. Can anyone tell me what i'm doing wrong? Thank you very much! this is my code: LightSceneNode lightNode1 = smgr.AddLightSceneNode(smgr.RootSceneNode, new Vector3D(1.0f, 300.0f, 1.0f), new Colorf(255,255,255,255), 200.0f, -1);...