When applying DNC light models, they will now illuminate the entire map, and remove all shadows, making everything seem unshaded. Previously, this did not happen, and DNC lighting worked as intended.
I have narrowed down this to ONLY happening with DNC models that contain light nodes. The light node settings doesn’t matter. As long as the DNC model has a light node, it illuminates the entire map. If the DNC model does NOT have a light node, it will make the entire map completely black.
To replicate this issue;
- Import DNC models into a map (you need both a “terrain” model, and a “unit” model)
- Use the native:
SetDayNightModels(MODEL_PATH_TERRAIN.mdx, MODEL_PATH_UNIT.mdx)
To find DNC models, you can search Google for “Dark Nights [Day-night-cycle]” (with the brackets), and open the first link. It should be a post by The_Silent on Hiveworkshop, and you will find the necessary models attached to his post.
Impact: This impacts a lot of custom games that are reliant on DNC lighting. Many custom games have a “dark” atmosphere in their maps, or have an animated day/night cycle where the nights are very dark. I understand that when developing the core game, taking things like backwards compatibility and custom games into consideration can be hard, if not impossible, but it would be nice to get this fixed, since it also breaks future usage of these natives with no known workarounds. Hopefully it’s an easy fix.