game: disable terrain tangents for speed

This commit is contained in:
Crypto City 2020-08-07 10:48:33 +00:00
parent 8d96c5fe82
commit d1acf97442

View File

@ -1677,6 +1677,7 @@ void CityMeshSection::CreateTerrain()
terrain->SetSpacing(Vector3(1.0f, 256.0f / HEIGHT_UNITS_PER_BLOCK, 1.0f)); // Spacing between vertices and vertical resolution of the height map
terrain->SetSmoothing(false);
terrain->SetOccluder(true);
terrain->EnableTangents(false);
}
void CityMeshSection::SetSnowiness(float snowiness)