ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.6k stars 598 forks source link

Software video renderer resolution problem + textures bug (Goldsrc) #3346

Open heat10 opened 1 year ago

heat10 commented 1 year ago

Some of the Goldsrc games have problems with the usage of the Software video renderer, some textures may glitch letting you able to see partially through a wall if you are from a specific distance from it. Not only that but some maps won't even start in that video mode along with other problems involving textures, like the blue blackground from an image that should be transparent being visible. The last known problem is that you can only play on Software video mode using windowed mode, that could also be fixed allowing you to play in any resolution you want (that last part isn't a problem in old GPUS).

I noticed that problem (Resolution + Software video) in the Half-Life games, but i think this bug also happens in Counter strike, Team Fortress Classic, and Day of Defeat considering that they use the same engine.

All the bugs happens while running on Software renderer, they happen by playing in that video mode naturally.

Screenshots shows the bug in Half-Life, if you are from a certain distance from a specific wall like there, you can see partially what is through (if a tripmine or a player is really next to the wall but in the other side) for instance. bug 1 bug 2

barspinoff commented 1 year ago

Software renderer can't sort objects with non-default rendermode (they called transparent objects in engine code), so this bug doesn't appear if you set rendermode on tripmine to kRenderNormal

heat10 commented 1 year ago

Software renderer can't sort objects with non-default rendermode (they called transparent objects in engine code), so this bug doesn't appear if you set rendermode on tripmine to kRenderNormal

Where exactly i can change that to fix ? Does that work for players and ammo/supplies pickups too ? (bug also happens with player models and these pickups).

Vitoria90 commented 1 year ago

Running into the same issue too, very easy to see on G-Man in Anomalous Materials image

Any way to fix this? I want to play the game in Software render for the nostalgia.