luciusDXL / TheForceEngine

Modern "Jedi Engine" replacement supporting Dark Forces, mods, and in the future Outlaws.
https://TheForceEngine.github.io
GNU General Public License v2.0
967 stars 71 forks source link

[GPU renderer] Broken transparency #315

Open PrgmrAtHrt opened 1 year ago

PrgmrAtHrt commented 1 year ago

bugged gfx

Intel i5-3320m + Intel HD 4000 Graphics

luciusDXL commented 1 year ago

Did you try updating your graphics driver? I have seen this kind of issue before with Intel iGPUs, but it was fixed with a driver update.

PrgmrAtHrt commented 1 year ago

There is no update. This chipset has been sunsetted.

000MDK commented 9 months ago

There is no update. This chipset has been sunsetted.

https://www.intel.com/content/www/us/en/support/articles/000057520/graphics.html

There is an older driver that supports DX12 and the newer one, that supports HVCI but dropped DX12. I use the new driver with Windows 11 with i5/HD4600 and TheForceEngine works as it should. (I use max allocated mem in BIOS FYI)

Have you checked your gamedata for corruption (redownload with steam/gog)? Also run sfc /scannow in admin-Terminal/cmd to be sure your systemfiles are okay.

PrgmrAtHrt commented 9 months ago

There is no update. This chipset has been sunsetted.

https://www.intel.com/content/www/us/en/support/articles/000057520/graphics.html

There is an older driver that supports DX12 and the newer one, that supports HVCI but dropped DX12. I use the new driver with Windows 11 with i5/HD4600 and TheForceEngine works as it should. (I use max allocated mem in BIOS FYI)

Have you checked your gamedata for corruption (redownload with steam/gog)? Also run sfc /scannow in admin-Terminal/cmd to be sure your systemfiles are okay.

The driver you linked is for a generation newer than my chipset and is not compatible. My gamedata and system files are fine.

JakeSmarter commented 6 months ago

Looks like an 8-bit color mode issue.

@PrgmrAtHrt Try setting “Color mode” in “Graphics” to True Color.

@luciusDXL Depending on what the 8-bit color modes are supposed to do, setting True Color may not be the solution but a workaround only.

PrgmrAtHrt commented 6 months ago

Looks like an 8-bit color mode issue.

@PrgmrAtHrt Try setting “Color mode” in “Graphics” to True Color.

@luciusDXL Depending on what the 8-bit color modes are supposed to do, setting True Color may not be the solution but a workaround only.

Yes, true color does indeed work fine for me. However, this is a workaround; not a solution.

luciusDXL commented 4 months ago

This is likely a rounding issue when looking up palettized colors. I will look into implementing a work around (tweak the way rounding occurs in the shaders) at some point. Good to know that true color works. :)