mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Fix default light
Fixes the diffuse alpha and the direction.
This commit is contained in:
parent
11db6d691c
commit
9e422a2b63
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue