everything gets much darker the more you zoom away making it look like there is damage to the buildings #4375
Comments
Alistair_Findlay commented I am experiencing a similar issue. the buildings will become fully dark at far zoom levels and at certain angles. I can provide video and/or logs if wanted. AMDGPU ARCH |
Forgon commented Replying to Warzone2100/old-trac-import#4375 (comment:1):
|
Forgon changed blocking which not transferred by tractive |
Forgon changed blockedby which not transferred by tractive |
Alistair_Findlay commented Ah yes, that seems like the same bug. |
Forgon changed type from |
Forgon commented The problem exists since at least version 3.1.0. The light source in our game is called the sun.
Lighting is calculated based on a simple model, which combines ambient lighting When diffuse lighting is disabled, the map zoom distance does not influence the The sun's lighting intensities are initialized in lib/ivis_opengl/piedraw.cpp:
Two script functions allow changing the sun's position and lighting intensities:
|
Forgon uploaded file patch file based on revision 400191c9c47a4e39aeb12240283f355a57e30290 |
Forgon uploaded file screenshot of Sk-Rush at distance 2500 before applying the patch |
Forgon uploaded file screenshot of Sk-Rush at distance 5000 before applying the patch |
Forgon uploaded file video of lighting with increasing map zoom distances before applying this patch |
Forgon uploaded file screenshot of Sk-Rush at distance 2500 after applying the patch |
Forgon uploaded file screenshot of Sk-Rush at distance 5000 after applying the patch |
Forgon uploaded file video of lighting with increasing map zoom distances after applying this patch |
Forgon uploaded file shell script to record video and take screenshots for documentation of this bug |
Forgon uploaded file savegame with damaged buildings for shell script |
Forgon2100 <forgon2100@...> changed status from |
Forgon2100 <forgon2100@...> changed owner from `` to |
Forgon2100 <forgon2100@...> changed resolution from `` to |
Forgon2100 <forgon2100@...> committed [456] In Warzone2100/warzone2100@456a74e:
|
resolution_fixed
type_patch (an actual patch, not a request for one)
| by klasskillnormal undamaged buildings are a bright color and the more damage they get they turn darker
when you zoom out the color gets darker instead of staying the normal color when they are undamaged
Issue migrated from trac:4375 at 2022-04-16 11:56:04 -0700
The text was updated successfully, but these errors were encountered: