Commit Graph

53 Commits

Author SHA1 Message Date
Faerbit
d6aef2a244 Optimized shadows of the torches. 2015-03-15 17:15:15 +01:00
Faerbit
ab6d2e4ffd Implemented debug draw for bullet. 2015-03-13 15:30:21 +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
9609c50335 Removing skewing of flame. Rotate looks correct now. 2015-03-09 10:32:25 +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
451a0836cf Made flames transparent. 2015-03-08 11:25:10 +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
b68015a6c4 Added flickering to the geometry shader. 2015-03-08 01:53:00 +01:00
Faerbit
d3c812bba3 Added loading screen. Had to restructure quite a bit of the program. 2015-03-07 19:59:52 +01:00
Faerbit
48174a4fb5 Removing useless shaders. 2015-03-07 18:57:24 +01:00
Faerbit
e02d223574 Reintroduced night texture. Throw a bunch of stuff out. 2015-03-07 18:25:14 +01:00
Faerbit
d24e70dbdd Added movement to water texture. Movement speed currently hard coded. 2015-03-07 14:56:16 +01:00
Faerbit
86619fd2dd Changed night texture to procedual night sky generation. 2015-03-07 14:39:01 +01:00
Jasper
39a0883466 Fixed y value of the sun. 2015-03-06 16:14:59 +01:00
Faerbit
1b8b8125f4 Added shader which could manipulate the color of the flames. 2015-03-06 09:21:38 +01:00
Faerbit
e4c9418d4a Gave the flames it's own framebuffer to be able to manipulate it's color. 2015-03-06 09:16:29 +01:00
Faerbit
2dd09aff19 Removing unused code. 2015-03-05 16:17:21 +01:00
Faerbit
fa8ba1335e Made use of the night texture. Now blends to night texture if the sun vector is pointing down. 2015-03-04 21:50:47 +01:00
Fabian Klemp
fce73f1285 Added fading to the sun. 2015-03-04 17:47:34 +01:00
Fabian Klemp
b7f95ebb40 Added sun to skydome. 2015-03-04 17:09:46 +01:00
Fabian Klemp
01a61f43ac Gave skydome it's own shader. 2015-03-04 16:08:03 +01:00
Faerbit
a811ed57be Now also blurring the edges of the flames. 2015-03-04 12:13:58 +01:00
Faerbit
fa47c93b46 Fixed blurring of flames with stencil buffer. 2015-03-04 11:25:02 +01:00
Faerbit
2930a86959 Made first attempt at blurring flames. Conceptually bad, looks very bad. 2015-03-04 00:55:01 +01:00
Faerbit
f34dbf891c Removed now useless stuff from the flame shader. 2015-03-03 23:32:43 +01:00
Faerbit
916c26cda1 Introduced flame post processing shader. 2015-03-03 23:27:41 +01:00
Faerbit
6fe51809a0 Made bias variable to get smaller bias for smaller shadow maps. 2015-03-03 11:04:39 +01:00
Faerbit
813d50ee94 Tried to further improve the rendering of the flame; didn't quite work. 2015-03-01 23:28:36 +01:00
Faerbit
805a5f19b5 Corrected flame normals. 2015-03-01 22:22:48 +01:00
Faerbit
2125243a31 Tried adding normals for color calculation seems wrong. 2015-03-01 19:40:39 +01:00
Faerbit
7dd4122d44 Fixed normals. 2015-03-01 18:56:56 +01:00
Faerbit
7ecb76dffa Using the color of the lights for the flame color. 2015-03-01 18:45:31 +01:00
Faerbit
bb090fcf91 Added another two render calls to further increase the number of vertices of the flame. 2015-03-01 18:19:19 +01:00
Faerbit
b61e7df089 Made two render calls to circumvent vertex limitation of geometry shader. 2015-03-01 17:01:41 +01:00
Faerbit
4cc21fd378 Closing flame at the top. 2015-03-01 16:11:43 +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
899253b53c Got generation of flame geometry working. 2015-02-28 00:52:58 +01:00