Replaced the solid black color inside wall cells with an ice texture, background ice textures loop better

This commit is contained in:
Regalis
2016-12-11 21:41:24 +02:00
parent 983c54f4b5
commit fdf99cddcb
5 changed files with 50 additions and 74 deletions

View File

@@ -437,7 +437,7 @@ namespace Barotrauma
List<VoronoiCell> cellsWithBody = new List<VoronoiCell>(cells);
List<VertexPositionColor> bodyVertices;
List<VertexPositionTexture> bodyVertices;
bodies = CaveGenerator.GeneratePolygons(cellsWithBody, out bodyVertices);
renderer.SetBodyVertices(bodyVertices.ToArray());