dolphin/Source/Core
Stenzek 51724c1ccd LightingShaderGen: Always calculate lighting for both color channels
Cel-damage depends on lighting being calculated for the first channel
even though there is no color in the vertex format (defaults to the
material color). If lighting for the channel is not enabled, the vertex
will use the default color as before.

The default value of the color is determined by the number of elements in
the vertex format. This fixes the grey cubes in Super Mario Sunshine.

If the color channel count is zero, we set the color to black before the
end of the vertex shader. It's possible that this would be undefined
behavior on hardware if a vertex color index that was greater than the
channel count was used within TEV.
2020-11-20 15:54:04 -08:00
..
AudioCommon Merge pull request #9071 from orbea/cmake 2020-10-26 18:48:42 +01:00
Common Common: Assert that translatable strings use positional arguments 2020-11-20 20:24:30 +01:00
Core Fix translatable strings which contain non-positional arguments 2020-11-20 20:24:30 +01:00
DiscIO Use positional arguments in all translatable fmt strings 2020-11-16 13:28:11 +01:00
DolphinNoGUI Clean up screen saver inhibition and apply setting change immediately. 2020-10-18 16:31:48 -05:00
DolphinQt Merge pull request #9210 from Dentomologist/regions-show-hide-all 2020-11-20 11:35:22 +01:00
InputCommon Remove a redundant i18n comment 2020-11-17 18:23:27 +01:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon Merge pull request #7714 from cristian64/avoid_leaking_gamelistmodel 2020-11-18 02:14:51 +01:00
UpdaterCommon Fix updater not always cleaning up temp directory 2020-11-13 12:25:53 -08:00
VideoBackends Vulkan: fix validation error in bSupportsGeometryShaders=false case 2020-11-20 12:23:34 +01:00
VideoCommon LightingShaderGen: Always calculate lighting for both color channels 2020-11-20 15:54:04 -08:00
WinUpdater DolphinQt: Handle non-ASCII characters in Windows cmd arguments 2020-09-21 17:26:29 +02:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00