mirror of
https://github.com/open-goal/jak-project
synced 2026-09-02 02:02:51 -04:00
[jak2] a few small graphics fixes (#2424)
- better handling of the `disable-fog` settings for merc, should fix the spotlights. There's a setting in the merc effect, and also a runtime flag for the draw-control. I'm not actually sure what reads these, but the draw-control one is definitely used to disable fog on the spotlights. - increase merc draw limit to try to fix the issue about partially drawn citizens in the city - remove useless debug prints (it's okay to die in init, and the medium load buffer size mode is understood now)
This commit is contained in:
@@ -2550,6 +2550,9 @@ void add_vertices_and_static_draw(tfrag3::TieTree& tree,
|
||||
|
||||
// bool using_wind = true; // hack, for testing
|
||||
bool using_wind = proto.stiffness != 0.f;
|
||||
if (version == GameVersion::Jak2) {
|
||||
using_wind = false; // disable wind on jak 2 for now - not supported in GOAL or C++ yet.
|
||||
}
|
||||
|
||||
bool using_envmap = info.uses_envmap;
|
||||
ASSERT(using_envmap == proto.envmap_adgif.has_value());
|
||||
|
||||
Reference in New Issue
Block a user