dolphin/Source/Core/VideoBackends/Software
Pokechu22 937bb2aa2e Cache normals in addition to binormals and tangents
Fixes LIT (https://bugs.dolphin-emu.org/issues/13635). The text does not include normals, but has lighting enabled. With the previous default of (0, 0, 0), lighting was always black (as dot(X, (0, 0, 0)) is always 0). It seems like the normal from the map in the background (0, 0, 1) is re-used.

LIT also has the vertex color enabled while vertex color is not specified, the same as SMS's debug cubes; the default MissingColorValue GameINI value of solid white seems to work correctly in this case.
2024-10-12 10:32:41 -07:00
..
Clipper.cpp VideoCommon/Statistics: Require semicolons after statistics macros 2022-10-29 15:39:41 -07:00
Clipper.h Software: Fix zfreeze with CullMode::All 2022-04-08 20:05:32 -07:00
CMakeLists.txt Implement AbstractGfx for Software & Null 2023-01-31 19:41:23 +13:00
CopyRegion.h Software: Fix out of bounds accesses in CopyRegion 2021-03-06 21:58:28 -08:00
EfbCopy.cpp Fix out of bound write in EfbCopy::ClearEfb 2023-12-09 02:15:42 +01:00
EfbCopy.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
EfbInterface.cpp Software: Use hardware-verified numbers for RGB->YUV conversion 2022-07-16 00:07:10 -07:00
EfbInterface.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
NativeVertexFormat.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
Rasterizer.cpp Sw/Rasterizer: fix two elder typos, AD 2009 2024-09-24 22:00:03 +01:00
Rasterizer.h SW/Tev: Replace Tev::SetRegColor with Tev::SetKonstColors 2022-08-29 11:10:05 -07:00
SetupUnit.cpp Convert OpcodeDecoder::Opcode and OpcodeDecoder::Primitive to enum class 2021-12-18 12:51:56 -08:00
SetupUnit.h Convert OpcodeDecoder::Opcode and OpcodeDecoder::Primitive to enum class 2021-12-18 12:51:56 -08:00
SWBoundingBox.cpp VideoCommon: Use std::span for BoundingBox::Write() 2023-12-09 16:33:21 -05:00
SWBoundingBox.h VideoCommon: Use std::span for BoundingBox::Write() 2023-12-09 16:33:21 -05:00
SWGfx.cpp VideoBackends:Vulkan: Don't try to present if swapchain acquire failed 2024-10-02 19:22:16 -05:00
SWGfx.h VideoBackends:Vulkan: Don't try to present if swapchain acquire failed 2024-10-02 19:22:16 -05:00
SWmain.cpp VideoCommon: Pass WindowSystemInfo to InitBackendInfo 2023-06-08 22:07:39 -07:00
SWOGLWindow.cpp Software: Fix mipmaps and uneven strides in SWTexture 2022-09-26 19:43:57 -07:00
SWOGLWindow.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
SWRenderer.cpp Move ConfigChanged out of RenderBase 2023-01-31 19:41:24 +13:00
SWRenderer.h Implement AbstractGfx for Software & Null 2023-01-31 19:41:23 +13:00
SWTexture.cpp VideoBackends: add support to allow rendering to multiple output textures 2023-06-03 14:52:31 -05:00
SWTexture.h VideoBackends: add support to allow rendering to multiple output textures 2023-06-03 14:52:31 -05:00
SWVertexLoader.cpp Cache normals in addition to binormals and tangents 2024-10-12 10:32:41 -07:00
SWVertexLoader.h Software: Fix zfreeze with CullMode::All 2022-04-08 20:05:32 -07:00
Tev.cpp Sw/Tev: drop unused macro 2024-09-24 22:00:03 +01:00
Tev.h Fix uninitialized variable warnings (C26495) 2023-02-15 19:18:39 -08:00
TextureCache.h TextureCache: Refactor with smart pointers 2023-01-31 18:29:47 +13:00
TextureEncoder.cpp Rename bpmem.copyMipMapStrideChannels to bpmem.copyDestStride 2023-11-11 23:32:14 -08:00
TextureEncoder.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureSampler.cpp VideoCommon: Use GetSpanForAddress safely in texture decoding 2024-04-20 18:31:08 +02:00
TextureSampler.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TransformUnit.cpp VideoCommon: Add comment explaining why only the first normal gets normalized 2022-04-22 16:54:38 -07:00
TransformUnit.h VideoCommon: Handle emboss texgen with only a single normal 2022-04-22 16:54:38 -07:00
Vec3.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
VideoBackend.h VideoCommon: Pass WindowSystemInfo to InitBackendInfo 2023-06-08 22:07:39 -07:00