Commit Graph

49 Commits

Author SHA1 Message Date
Steffen Fündgens
4992292563 Merge branch 'loading-screen' 2015-03-09 14:36:17 +01:00
Fabian Klemp
2fce9296a7 Added wind simulation. 2015-03-09 14:14:17 +01:00
Steffen Fündgens
bfd8b25a7d Fixed loading screen resizing. 2015-03-09 13:41:34 +01:00
Faerbit
371cccb273 Made attempt at scaling loading screen. 2015-03-08 17:05:52 +01:00
Faerbit
3eeea52f5e Gave flames their own class again. The size of the flames are now respected. 2015-03-07 22:48:44 +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
e02d223574 Reintroduced night texture. Throw a bunch of stuff out. 2015-03-07 18:25:14 +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
Fabian Klemp
01a61f43ac Gave skydome it's own shader. 2015-03-04 16:08:03 +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
916c26cda1 Introduced flame post processing shader. 2015-03-03 23:27:41 +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
a77e06f8c8 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
c2621752fc Removing outdated comment. 2015-02-19 00:30:35 +01:00
Fabian Klemp
fd1f32be6a maxShadowRenderCount now works correctly. 2015-02-13 17:09:25 +01:00
Fabian Klemp
281466ebd5 Added maxShadowRenderCount. Controls how many shadows get rendered. 2015-02-13 16:20:22 +01:00
Fabian Klemp
599c849bb0 Merge branch 'debug-shadows'
Conflicts:
	graphics.cc
	graphics.hh
	object.cc
2015-02-13 16:02:12 +01:00
Faerbit
1d8bbba1ca Now only using the 32 closest light sources. 2015-02-12 01:13:26 +01:00
Faerbit
9afb3595d0 Fixed directional shadows. 2015-02-10 00:27:13 +01:00
Faerbit
c28b35667f Changed cube map shadows sampler to a sampler array. 2015-02-09 14:26:04 +01:00
Steffen
8cc467a806 Now loading the resolution of the shadow cube maps from config.xml. 2015-02-07 20:24:11 +01:00
Faerbit
ac19eac671 Additional cleanup. 2015-02-04 23:08:23 +01:00
Faerbit
a3e6da2ada Now mirroring the cube face on their own again. 2015-01-28 17:26:02 +01:00
Faerbit
114632b015 Small parameter changes. 2015-01-27 11:14:00 +01:00
Faerbit
7f13e89935 Implemented saving depthbuffer face to png. Doesn't work right now. 2015-01-26 21:48:44 +01:00
Faerbit
4d3db6f285 Updating lights only every half a second now, for performance. 2015-01-26 00:06:31 +01:00
Faerbit
81f94ba221 Moved all GLFW related stuff to the main files. 2015-01-25 23:29:37 +01:00
Steffen Fündgens
00de8c0e82 Fixed mirroring of shadows by inverting coordinates instead of blitting framebuffers(performance...). 2015-01-23 14:00:26 +01:00
Steffen Fündgens
cf836b151a Mirrored rendering of pointlight shadows, so that they are at the correct positions now, but occlude everything. -- Fabian 2015-01-19 18:22:25 +01:00
Faerbit
1cef3d4d0a Removed Cascaded Shadow Mapping because it is not realistic to get it working in the remaining time. 2015-01-19 00:52:57 +01:00
Faerbit
44f2bd953d Replacing buildFrustum with standard glm call. 2014-12-15 11:22:32 +01:00
Faerbit
80cbc58f81 Implemented cube map depth rendering from lighting positions. 2014-12-15 02:09:33 +01:00
Faerbit
e531ede144 Init graphics with the level instead of passing it to the render function everytime. 2014-12-15 01:05:46 +01:00
Faerbit
0c5dbee654 Implemented cascaded shadow mapping. 2014-12-04 17:19:58 +01:00
Faerbit
aa764cfa39 Changing shadow map sampler from sampler2D to sampler2Dshadow and removing now useless colour texture. 2014-12-04 13:21:20 +01:00
Faerbit
947e9376fb Making framebuffer private again. (Was public for debugging. 2014-12-04 01:22:23 +01:00
Faerbit
27c2248117 Implemented basic shadows for sun light. Also fixed bug with far plane always staying the same. 2014-12-04 01:13:59 +01:00
Faerbit
eb90142e81 Moving shader management completely into graphics. 2014-12-01 17:49:59 +01:00
Faerbit
c7518a7f8e Added skybox and refined fog a bit. Fog still needs a lot of work. 2014-11-21 02:38:03 +01:00
Faerbit
3ddcb72d5a Reenabling resizeCallback. 2014-11-15 15:19:48 +01:00
Fabian Klemp
7b331edff9 Reorganized code quite a bit. Resizing is deactivated currently. 2014-11-14 16:47:47 +01:00
Faerbit
4231866d40 Adapting graphics to new camera model. 2014-11-13 18:17:58 +01:00
Faerbit
16f4890458 Added a update function to the level which rotates the bunny. 2014-11-13 00:40:28 +01:00
Fabian Klemp
752ee67481 Rewrote graphics to use new classes. 2014-10-24 10:57:28 +02:00
Faerbit
7f7398e295 Moving included to header. 2014-10-20 18:49:10 +02:00
Faerbit
70662679c1 Adding define guards. 2014-10-20 18:23:25 +02:00
Faerbit
083f4785ae Organizing Code. (Deleted lookAt as it is available as part of GLM.) 2014-10-20 18:16:47 +02:00