[d3d9] Fix default light

Fixes the diffuse alpha and the direction.
This commit is contained in:
Robin Kertels 2024-03-11 17:33:02 +01:00
parent 76777ece73
commit a7cce7c785
No known key found for this signature in database
GPG Key ID: 3824904F14D40757
1 changed files with 2 additions and 2 deletions

View File

@ -169,11 +169,11 @@ namespace dxvk {
constexpr D3DLIGHT9 DefaultLight = {
D3DLIGHT_DIRECTIONAL, // Type
{1.0f, 1.0f, 1.0f, 1.0f}, // Diffuse
{1.0f, 1.0f, 1.0f, 0.0f}, // Diffuse
{0.0f, 0.0f, 0.0f, 0.0f}, // Specular
{0.0f, 0.0f, 0.0f, 0.0f}, // Ambient
{0.0f, 0.0f, 0.0f}, // Position
{0.0f, 0.0f, 0.0f}, // Direction
{0.0f, 0.0f, 1.0f}, // Direction
0.0f, // Range
0.0f, // Falloff
0.0f, 0.0f, 0.0f, // Attenuations [constant, linear, quadratic]