Fix Stormwind cathedral LOD shell and extend view distance

- Add distance-based + backface culling for STORMWIND.WMO LOD shell groups
- Hide floating cathedral shell when within 185 units of group center
- Enable backface culling for LOD shell to reduce artifacts from inside
- Increase WMO view distance from 160 to 500 units for better visibility
- Extend fog distances to 3000-4000 units for clearer long-range views
- Add fog support to water renderer matching WMO fog settings
This commit is contained in:
Kelsi 2026-02-09 19:57:22 -08:00
parent e27af85247
commit db368d8329
4 changed files with 65 additions and 15 deletions

View file

@ -534,8 +534,8 @@ private:
// Fog parameters
glm::vec3 fogColor = glm::vec3(0.5f, 0.6f, 0.7f);
float fogStart = 400.0f;
float fogEnd = 1200.0f;
float fogStart = 3000.0f; // Increased to allow clearer visibility at distance
float fogEnd = 4000.0f; // Increased to match extended view distance
// Shadow mapping
GLuint shadowDepthTex = 0;