DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.86k stars 245 forks source link

[Runtime Issue]: Z-ranges are incorrect (effects visible through terrain) #339

Closed JeodC closed 4 months ago

JeodC commented 4 months ago

Build Version

current

Operating System Environment

CPU Environment

Game Modes Affected

Game Environment

Level 7

Description

Playing around with render distance (see #338) made a bug more visible. Z-ranges are off for certain effects, causing them to be visible through terrain. Video below explains.

https://github.com/DescentDevelopers/Descent3/assets/47716344/975dd617-796b-4b61-b3d7-4cd75ce9311b

Regression Status

There is no regression--this appears to have always been around, but it is not present at the lowest render depth setting due to culling.

Steps to Reproduce

Tested with Level 7 - follow the guidebot to the first objective to disable the turrets, which will cause the blue electricity effects to appear.

JeodC commented 4 months ago

This is also not present in Piccu v1.0, likely because Piccu uses the older v1.4 opengl renderer whereas v1.5 introduced a newer version that was, as @InsanityBringer put it, incomplete.