Commit Graph

21 Commits

Author SHA1 Message Date
Faerbit
6fa2e4e1b8 Moved all GLFW related stuff to the main files. 2015-01-25 23:29:37 +01:00
Steffen Fündgens
c7931aed20 Fixed mirroring of shadows by inverting coordinates instead of blitting framebuffers(performance...). 2015-01-23 14:00:26 +01:00
Steffen Fündgens
92a144d8bb 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
f6a88683b7 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
cad4a95a4e Replacing buildFrustum with standard glm call. 2014-12-15 11:22:32 +01:00
Faerbit
b662106e5f Implemented cube map depth rendering from lighting positions. 2014-12-15 02:09:33 +01:00
Faerbit
e0404b091d Init graphics with the level instead of passing it to the render function everytime. 2014-12-15 01:05:46 +01:00
Faerbit
867b1e4a60 Implemented cascaded shadow mapping. 2014-12-04 17:19:58 +01:00
Faerbit
c88ea7cee8 Changing shadow map sampler from sampler2D to sampler2Dshadow and removing now useless colour texture. 2014-12-04 13:21:20 +01:00
Faerbit
c695325376 Making framebuffer private again. (Was public for debugging. 2014-12-04 01:22:23 +01:00
Faerbit
d8edfd2ea9 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
a42c64b535 Moving shader management completely into graphics. 2014-12-01 17:49:59 +01:00
Faerbit
235cde0d74 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