Repository navigation
Issues.00515
Summary: crazy lightning may occur with some driver versions
Created: 2014–06–17 14:18
Status: Released
Category: Bug
From: frankie
Version: 2.3
Released_In: 2.4
Description:
Some drivers have caused the lightning on the dark side of the earth to cover almost the entire hemisphere.
frankie June 17, 2014, at 02:20 PM: This has been fixed.
| commit | 6fca1c870293b65a0f0551ef81b39760f98e3c3c [link] |
||
| Author: | Frank Graffagnino |
| Date: | Tue Jun 17 14:21:16 2014 -0500 |
| Message: | [@Issue 00515: fixed problem with lightning on some driver versions
The strike_center vector was unintialized and it looks like we were depending on the compiler to default it to zeroes for us which was unintentional. Fixed by initializing it and also adding a bool to cause the lighting calculations to not be done if we are not within a strike. @] |
Affected Files:
shaders/earth_cloud.fs | 9 +++++++±
shaders/earth_cloud_bmp.fs | 9 +++++++±
2 files changed, 16 insertions(+), 2 deletions(-)