So I wanted to start out making sure I can just the plane visible with a static water texture.
However this does not create any such mesh (atleast not one I can see)
(I've changed the sizes around to see if that was it but still no go) Is there something I'm missing when using addhillplanemesh that I don't know about?
Code: Select all
IAnimatedMesh *watermesh = scenemgr->addHillPlaneMesh( "water",
core::dimension2d<f32>(20,20),
core::dimension2d<u32>(40,40), 0, 0,
core::dimension2d<f32>(0,0),
core::dimension2d<f32>(10,10));
water = scenemgr->addAnimatedMeshSceneNode(watermesh);
water->setPosition(core::vector3df(0,7,0));
water->setMaterialTexture(1, driver->getTexture("Game/Textures/water/water.jpg"));