mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[d3d9] Fix default light
Fixes the diffuse alpha and the direction.
This commit is contained in:
parent
11db6d691c
commit
9e422a2b63
@ -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
Block a user