Commit Graph

22 Commits

Author SHA1 Message Date
Faerbit
2a2e89d445 Changed when light contributions are not taken into account. Increased FPS. 2015-03-21 20:55:21 +01:00
Faerbit
d6aef2a244 Optimized shadows of the torches. 2015-03-15 17:15:15 +01:00
Faerbit
8349f8594e Made fog stay red longer. 2015-03-10 08:13:45 +01:00
Faerbit
3090c5e0f9 Making sun color dependent on angle. 2015-03-10 08:09:02 +01:00
Faerbit
428c9df4ea Decreased bias for point light shadows. 2015-03-09 22:33:10 +01:00
Faerbit
1b3fa3eed3 Changed on what sun angle shadows get rendered. 2015-03-09 22:31:45 +01:00
Fabian Klemp
7359e95d4c Corrected bias calculation for point light shadows. 2015-03-09 16:41:12 +01:00
Fabian Klemp
abb8c981bc Changed a few parameters corresponding with the sunrise. 2015-03-09 15:43:12 +01:00
Fabian Klemp
2fce9296a7 Added wind simulation. 2015-03-09 14:14:17 +01:00
Faerbit
b313bd0645 Made flickering dependent of the wind power. 2015-03-09 11:13:12 +01:00
Faerbit
6e8d3c36df Gave sun rise more different colors. 2015-03-09 00:39:59 +01:00
Faerbit
eda952df70 Changed flame function to cosine to be able to rotate it properly. Also changed corresponding parameters. 2015-03-08 23:13:16 +01:00
Faerbit
abca7c9f1e Disabled directional light if its below the map. 2015-03-08 14:56:18 +01:00
Faerbit
c89ce83fb3 Increases frequency of flickering. 2015-03-08 11:31:06 +01:00
Faerbit
ecb88e9140 Improved flicker functions a bit. 2015-03-08 10:50:12 +01:00
Faerbit
93f87cc9c5 Added flickering to lighting shader. 2015-03-08 01:59:38 +01:00
Faerbit
d24e70dbdd Added movement to water texture. Movement speed currently hard coded. 2015-03-07 14:56:16 +01:00
Faerbit
6fe51809a0 Made bias variable to get smaller bias for smaller shadow maps. 2015-03-03 11:04:39 +01:00
Faerbit
97b9eeeac6 Mix borders of directional shadow maps. 2015-02-28 15:10:14 +01:00
Faerbit
585e40bb8b Reintroduced cascaded shadow mapping while also fixing it. The old bug with popping shadows should be fixed now. 2015-02-28 14:40:54 +01:00
Faerbit
0887ff5f46 Removed unused code. 2015-02-28 13:51:22 +01:00
Faerbit
97329141bc Restructured directory tree. 2015-02-14 09:49:29 +01:00