openmoh / openmohaa

Open re-implementation of Medal of Honor: Allied Assault with modern features and bugfixes from ioquake3
GNU General Public License v2.0
307 stars 21 forks source link

(SH & BT - mohdm1) blinking foliage #395

Open bulldozerecske opened 6 days ago

bulldozerecske commented 6 days ago

Foliage goes dark and bright from different angles. It is NOT an issue in AA (openmohaa).

image

image

Version: OpenMoHAA 0.71.0-unstable+65.56f850b win_msvc64-x86_64 Oct 01 2024 UTC

smallmodel commented 6 days ago

It can't be fixed in the engine, it's an issue with the shader (textures/wilderness/jh_foliage2 in wilderness.shader), in SH/BT "surfaceparm fence" was replaced "surfaceparm wood" which makes the shader two-sided rather than front-sided and causes z-fighting