You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/apps
AnyOldName3 162b25c180 Fix sunglare on Mesa
The sunglare works by comparing an occlusion query with depth testing on
against one with depth testing off to determine if there's anything
closer to the camera than the maximum depth buffer value. For the depth-
tested query, the depth range is set from 1 to 1 so it's always drawn at
the maximum distance. Originally, we had the depth function set to LESS,
meaning that the query would always fail as 1 is not less than 1, but
also glPolygonOffset was used to move the query by "the smallest value
that is guaranteed to produce a resolvable offset for a given
implementation" closer to the camera. While other driver and hardware
combinations do that, Mesa seems to be clamping to the depth range, so
still failing.

Instead, it's simpler to just get rid of the polygon offset and change
the depth test to LEQUAL as 1 *is* less than or equal to 1, but not than
any other possible depth buffer value.
4 years ago
..
bsatool Add compressed BSA support to bsatool 4 years ago
esmtool supress -> suppress 5 years ago
essimporter Use overrides, when needed 5 years ago
launcher Downgrade FOV-dependent view distance factor to a recommendation 4 years ago
mwiniimporter Merge pull request #3018 from akortunov/emplace 4 years ago
niftest Remove NIFFile settings manager dependency 4 years ago
opencs Fix linking with `-DOPENMW_USE_SYSTEM_OSG=ON -DOSG_STATIC=ON` 4 years ago
openmw Fix sunglare on Mesa 4 years ago
openmw_test_suite Set bounding min and max height for btHeightfieldTerrainShape 4 years ago
wizard Wizard: Only allow to select Morrowind.esm master files, display an error if Morrowind.bsa is missing 4 years ago
doc.hpp