mirror of https://github.com/doitsujin/dxvk
[d3d9] Fix default light
Fixes the diffuse alpha and the direction.
This commit is contained in:
parent
76777ece73
commit
a7cce7c785
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue