Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

docs(changelog): buildings keep their colour as the camera pulls back

Olcay Seygane6641946b64d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a68db7253..22b0f6b96 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -259,6 +259,7 @@ found and fixed — EA's own, not port damage.**
- 481 base-game textures at four times the resolution now beat Zero Hour's downscaled copies.
- The ground is drawn at twice the detail. Every map square used to get a 64-pixel patch of its ground texture, squeezed into sixteen-bit colour; it gets 128 pixels now in full colour, so sand, gravel and tracks stop turning to blocks and bands when you zoom in, and a ground texture that ships at twice the size is shown at that size.
- The ground has relief. Every grain of sand, pebble and crack catches the map's own sun on one side and falls into shade on the other, worked out from the ground's own picture when the map loads, and it follows the sun on a dusk map or a night one. The light the ground already had from its hills is kept; the relief goes on top. It is part of the new picture, so a machine on the old renderer keeps the flat ground.
+- Buildings and vehicles no longer go dark as you pull the camera back. The surface detail that catches the sun was stored at smaller sizes for far-off viewing, and those smaller copies were all tilted the same way, so from the default camera height or higher a GLA Command Center's gold dome turned brown and its walls went dull. The small copies are made again, straight this time, and the dome stays gold at every zoom. It is one new download of the surface detail file, 333 MB.
- A damaged building looks damaged, not carved out of marble. The damaged and burning versions of a building's skin are separate pictures a quarter the size of the healthy one, and the surface detail made from them spread one blotch of soot into a hill across a whole wall panel, so a command centre under fire turned black and white. They draw flat now, and the panels, rivets and deck stripes show through the soot again.
- A tank keeps its surface detail when it fires. The flash of a gun, an explosion or a fire lights whatever stands next to it, and that light used to switch the whole model back to the old flat lighting for as long as it lasted, so every shot and every blast nearby wiped the relief off a vehicle for a moment. The flash is added on top now and the sun keeps drawing the detail.
- A long thin texture loads at the size it was drawn at. Anything wider than eight to one used to be stretched onto a bigger, blurrier one, because that was the limit of a 2002 graphics card; the card is asked now, and modern ones have no such limit.