jop is aktiv passiert aber nix
[edit: mal die wichtigsten stellen zusammen gefasst]
Code:
Param.AntiAlias = true;
Param.Bits = 32;
Param.DriverType = EDT_OPENGL;
Param.WindowSize = dimension2d<s32>(1280,1024);
Param.Fullscreen = true;
Param.Stencilbuffer = true;
Param.Vsync = true;
...
SD.Device = createDeviceEx(Param);
...
Camera = SD.SceneManager->addCameraSceneNode(0, vector3df(0, 2000, 0), vector3df(0, 0, 3));
...
Light[0] = SD.SceneManager->addLightSceneNode(0, vector3df(0, 800, 0), SColorf(1.0f, 0.60f, 0.70f, 1.0f), 600.0f);
...
SD.SceneManager->setShadowColor(SColor(220,100,0,0));
...
Arena->wallFront = SD->SceneManager->addAnimatedMeshSceneNode(SD->SceneManager->getMesh("..\\data\\WaldUmgebung.3ds"));
Arena->wallFront->getMaterial(0).Shininess = 0;
Arena->wallFront->getMaterial(0).EmissiveColor.set(255,255,255,255);
Arena->wallFront->getMaterial(1).Shininess = 0;
Arena->wallFront->getMaterial(1).EmissiveColor.set(255,255,255,255);
Arena->wallFront->setPosition(vector3df(-1900,0,0));
Arena->wallFront->addShadowVolumeSceneNode();
bzw was mir phönix geraten hatte
lightmaps jedoch wie funtzen die?