diff --git a/apps/openmw/mwrender/terraingrid.cpp b/apps/openmw/mwrender/terraingrid.cpp index 4688fbfd9..f2bd92061 100644 --- a/apps/openmw/mwrender/terraingrid.cpp +++ b/apps/openmw/mwrender/terraingrid.cpp @@ -64,6 +64,8 @@ void TerrainGrid::loadCell(int x, int y) element.mChunk = new Terrain::Chunk(mCache.getUVBuffer(), bounds, positions, normals, colours); element.mChunk->setIndexBuffer(mCache.getIndexBuffer(0)); + element.mChunk->setVisibilityFlags(mVisibilityFlags); + element.mChunk->setCastShadows(true); std::vector<Ogre::PixelBox> blendmaps; std::vector<Terrain::LayerInfo> layerList;