Commit Graph

41 Commits

Author SHA1 Message Date
Faerbit
3403f9778d 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
a4caa6a402 Disabled directional light if its below the map. 2015-03-08 14:56:18 +01:00
Faerbit
8570a305d4 Increases frequency of flickering. 2015-03-08 11:31:06 +01:00
Faerbit
612c497d5e Made flames transparent. 2015-03-08 11:25:10 +01:00
Faerbit
b6e15f8c4e Improved flicker functions a bit. 2015-03-08 10:50:12 +01:00
Faerbit
b953ae878b Added flickering to lighting shader. 2015-03-08 01:59:38 +01:00
Faerbit
c0e4fce3f0 Added flickering to the geometry shader. 2015-03-08 01:53:00 +01:00
Faerbit
7d0062f270 Added loading screen. Had to restructure quite a bit of the program. 2015-03-07 19:59:52 +01:00
Faerbit
a56d3e078b Removing useless shaders. 2015-03-07 18:57:24 +01:00
Faerbit
d835dbe010 Reintroduced night texture. Throw a bunch of stuff out. 2015-03-07 18:25:14 +01:00
Faerbit
da761b2e72 Added movement to water texture. Movement speed currently hard coded. 2015-03-07 14:56:16 +01:00
Faerbit
4d100fd290 Changed night texture to procedual night sky generation. 2015-03-07 14:39:01 +01:00
Jasper
6ae19043fb Fixed y value of the sun. 2015-03-06 16:14:59 +01:00
Faerbit
eac0031b0a Added shader which could manipulate the color of the flames. 2015-03-06 09:21:38 +01:00
Faerbit
a82ecad52f Gave the flames it's own framebuffer to be able to manipulate it's color. 2015-03-06 09:16:29 +01:00
Faerbit
8443ab789f Removing unused code. 2015-03-05 16:17:21 +01:00
Faerbit
074132b49d 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
388217648c Added fading to the sun. 2015-03-04 17:47:34 +01:00
Fabian Klemp
b6c1d94cc3 Added sun to skydome. 2015-03-04 17:09:46 +01:00
Fabian Klemp
1ec7f05eca Gave skydome it's own shader. 2015-03-04 16:08:03 +01:00
Faerbit
f4b9d4dc38 Now also blurring the edges of the flames. 2015-03-04 12:13:58 +01:00
Faerbit
bb3267c72a Fixed blurring of flames with stencil buffer. 2015-03-04 11:25:02 +01:00
Faerbit
2a82f9f2e2 Made first attempt at blurring flames. Conceptually bad, looks very bad. 2015-03-04 00:55:01 +01:00
Faerbit
e54ee77557 Removed now useless stuff from the flame shader. 2015-03-03 23:32:43 +01:00
Faerbit
35b77c9c01 Introduced flame post processing shader. 2015-03-03 23:27:41 +01:00
Faerbit
7597b068cb Made bias variable to get smaller bias for smaller shadow maps. 2015-03-03 11:04:39 +01:00
Faerbit
4bdf64c35a Tried to further improve the rendering of the flame; didn't quite work. 2015-03-01 23:28:36 +01:00
Faerbit
014b2e508a Corrected flame normals. 2015-03-01 22:22:48 +01:00
Faerbit
40e7dda14a Tried adding normals for color calculation seems wrong. 2015-03-01 19:40:39 +01:00
Faerbit
51d78583d7 Fixed normals. 2015-03-01 18:56:56 +01:00
Faerbit
53557b80c4 Using the color of the lights for the flame color. 2015-03-01 18:45:31 +01:00
Faerbit
f5fd73fd1d Added another two render calls to further increase the number of vertices of the flame. 2015-03-01 18:19:19 +01:00
Faerbit
416784539b Made two render calls to circumvent vertex limitation of geometry shader. 2015-03-01 17:01:41 +01:00
Faerbit
9150c628b4 Closing flame at the top. 2015-03-01 16:11:43 +01:00
Faerbit
e6251f8cba Mix borders of directional shadow maps. 2015-02-28 15:10:14 +01:00
Faerbit
2da70f156d 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
7ff11e1105 Removed unused code. 2015-02-28 13:51:22 +01:00
Faerbit
90b33907b2 Got generation of flame geometry working. 2015-02-28 00:52:58 +01:00
Faerbit
8fe1482dfb Got generation of circular quads working. 2015-02-28 00:00:30 +01:00
Faerbit
b0b2c71139 Added simple geometry shader which draws a red triangle which changes it's height over time. 2015-02-24 23:30:59 +01:00
Faerbit
89a73f3776 Restructured directory tree. 2015-02-14 09:49:29 +01:00