diff options
| author | NanoByte011 <nanobyte011@hotmail.com> | 2015-01-21 15:55:32 -0700 |
|---|---|---|
| committer | NanoByte011 <nanobyte011@hotmail.com> | 2015-01-21 15:55:32 -0700 |
| commit | f475e367f2d1d4952cf4e9b8c86f68f9e09f3b73 (patch) | |
| tree | c30d3efb833c0253a524b9a76f21c1a532f05613 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | e7f2a04699c0e7e622028b4feba07fb6f46142bf (diff) | |
Lighting Attenuation Fixes
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 3567be8bd8..edc67cc83c 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -401,7 +401,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T out.Write("\tfloat3 pos = WorldPos;\n"); out.Write("\tint4 lacc;\n" - "\tfloat3 ldir, h;\n" + "\tfloat3 ldir, h, cosAttn, distAttn;\n" "\tfloat dist, dist2, attn;\n"); // TODO: Our current constant usage code isn't able to handle more than one buffer. |
