FAForever / Neroxis-Map-Generator

MIT License
18 stars 10 forks source link

Graphics bug with the water ramp on the `PRAYER` biome #389

Closed Garanas closed 2 months ago

Garanas commented 3 months ago

Describe the bug

The water ramp is applied disproportionally on a generated map using the PRAYER biome:

image

To Reproduce

Generate a map using the PRAYER biome and spawn in an amphibious unit. Move the unit under water, see the black-ness being applied disproportionally.

Expected behavior

Similar water ramp effect as on other maps.

BlackYps commented 3 months ago

This is a bug with the map generator. The standard biomes should not have a light multiplier of 2.2 as this triggers the code for exponential water absorption in units. I think this is a leftover from the original idea to enhance the existing biomes. Instead we are creating new biomes now.