ClassiCube icon indicating copy to clipboard operation
ClassiCube copied to clipboard

Direct3D11 backend issues

Open UnknownShadow200 opened this issue 4 years ago • 3 comments

  • [x] Particles don't render for some reason
  • [x] If you look at a block (so the outline lines show), the bedrock map sides are rendered untextured
  • [x] ~~vertices/pixels beyond zfar aren't being culled~~
  • [x] Backface culling needs to be implemented
  • [x] Alpha transparent needs to be implemented
  • [x] Fog needs to be implemented
  • [x] Minimising currently terminates the game
  • [x] d3d11.dll needs to be loaded dynamically
  • [x] Red/Blue is swapped in screenshots
  • [x] /client gpuinfo
  • [x] Mipmaps
  • [x] Can shader bytecode be made const?
  • [x] Test other DXDGI_STATUS results from Present
  • [x] Handle driver resets

And probably change CC_COMMIT_SHA to also include GPU backend

UnknownShadow200 avatar Sep 25 '21 05:09 UnknownShadow200

When minimised Present returns 0x087A0001 aka DXGI_STATUS_OCCLUDED - probably need to just Sleep() when that happens. Cross reference with #907

UnknownShadow200 avatar Nov 03 '21 09:11 UnknownShadow200

I couldn't get DXGI_STATUS_MODE_CHANGED to be returned even when I added/removed a secondary monitor, so this backend is pretty much ready to start providing compiled builds for

Still need to fix red/blue being swapped in screenshots

UnknownShadow200 avatar Feb 03 '22 12:02 UnknownShadow200

Screenshot issue was resolved in 474c9232fa31eb74f71c3b423d38954c99602a51, so shouldn't be anymore issues now

UnknownShadow200 avatar Dec 24 '22 06:12 UnknownShadow200