Fixed terrain preview not clearing base texture zone
This commit is contained in:
parent
23cad30548
commit
29d258574a
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ Renderer* terrainCreatePreviewRenderer()
|
|||
textures = TexturesDefinitionClass.create();
|
||||
layersClear(textures->layers);
|
||||
TexturesLayerDefinition* layer = layersGetLayer(textures->layers, layersAddLayer(textures->layers, NULL));
|
||||
zoneClear(layer->terrain_zone);
|
||||
layer->displacement_height = 0.0;
|
||||
layer->material.base = colorToHSL(COLOR_WHITE);
|
||||
layer->material.reflection = 0.05;
|
||||
|
|
Loading…
Reference in a new issue