diff options
| author | degasus <wickmarkus@web.de> | 2013-09-16 17:10:19 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-09-16 17:10:19 +0200 |
| commit | 75f2738f5c32bc7a28078983d1a7da2c31e7acbf (patch) | |
| tree | 705c7b7602d865246d68ecb924e375073375253f /Source/Core/InputCommon/ControllerInterface | |
| parent | 98fb4c146e3832c2cf6bcb1287549954a0622610 (diff) | |
VideoCommon: fix ogl lighting bug which happens because of NaN emulation
attn is sometimes very big (eg 1e27), so attn*attn doesn't fit into a float.
So the funny part here is: 0.0 * (1e27*1e27) = 0.0 * Inf = NaN
As the shader compiler is allowed to change the order of multiplications,
this issue isn't fixed completely.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
0 files changed, 0 insertions, 0 deletions
