Commit Graph

35 Commits

Author SHA1 Message Date
Faerbit
90dbd52aca Implemented rendering of shadow render queue (#10). 2015-06-01 15:47:30 +02:00
Faerbit
592f84b548 Implemented the the initilization of the shadow render queue.(#10) 2015-06-01 10:48:56 +02:00
Faerbit
836f75d7fe Various cleanups. 2015-06-01 10:45:15 +02:00
Faerbit
f389aa2f4a Fixed pointlight shadows not getting rendered correctly. 2015-06-01 00:57:36 +02:00
Faerbit
4a35c4feba Increase maximum possible point light shadows to 15. 2015-05-31 21:31:31 +02:00
Faerbit
5dbf839f76 Reverting to old way when to sample the directional shadow, because of a bug introduced by this. 2015-05-31 17:51:11 +02:00
Faerbit
806182835f Changed wind direction because of flames clipping into the terrain. 2015-05-31 17:36:58 +02:00
Faerbit
52a36c9b18 Added additional directional shadow maps for better looking sun shadows. 2015-05-31 17:36:21 +02:00
Faerbit
c8ba61ca56 Performance optimization for deciding when the directional shadow gets rendered. 2015-05-28 15:03:08 +02:00
Faerbit
536ffc899e Fixing game not getting scaled correctly in fullscreen. 2015-05-16 13:54:01 +02:00
Faerbit
9b89007674 Removing mutexes because threading is going to be implemented differently.(#6) 2015-04-25 22:38:44 +02:00
Faerbit
96a8943cb7 Protected some functions of graphics with the init_mutex. 2015-04-12 21:56:04 +02:00
Faerbit
b52bef795a Added init mutex to graphics. 2015-04-12 21:51:11 +02:00
Faerbit
93f790ec22 Simplifing object render method by givin the skydome day texture it's own texture unit. 2015-04-12 21:06:59 +02:00
Faerbit
9b57eb0df1 Moving resizing of loading screen to resize method. 2015-04-12 20:16:24 +02:00
Faerbit
fc2ce96771 Moving updateClosestLights() to level class. 2015-03-24 19:50:26 +01:00
Faerbit
300f14c752 Fixing mismatching deallocation. 2015-03-22 13:25:43 +01:00
Faerbit
3de85042d0 Prettified sun rise. 2015-03-21 21:46:58 +01:00
Faerbit
78972a87bf Fixed water plane not getting rendered after introducing rendering queue. 2015-03-21 19:02:24 +01:00
Faerbit
2a3f976b5e Slight fps increas by reducing the amount the point lights have to render. 2015-03-21 18:57:14 +01:00
Faerbit
1fd6058eaf Finshed work now sorting objects after loading. 2015-03-21 18:44:08 +01:00
Faerbit
a07a4bbb91 Commiting unfinished work. 2015-03-21 15:05:22 +01:00
Faerbit
2a0cb3ca1d Implemented a renderQueue which is sorted by materials. Not feasible. Closes #12. 2015-03-20 23:45:28 +01:00
Faerbit
3680abfba4 Loaded all textures at the beginning of the application. Closes #7. 2015-03-18 16:26:20 +01:00
Faerbit
09282f51fd Changing where uniform are set minimizing the communication with the gpu. 2015-03-18 09:14:09 +01:00
Faerbit
3a2156492e Removing useless light update. 2015-03-18 08:58:24 +01:00
Faerbit
0ae43db53e Fixing loading not getting correctly scaled in fullscreen. 2015-03-15 22:11:26 +01:00
Faerbit
b19118252f Changing how the loading screen is approximated. Fixes #2. 2015-03-15 15:39:24 +01:00
Faerbit
65552409f0 Removed debug draw memory leak. 2015-03-14 14:52:40 +01:00
Faerbit
8f6c27ae32 Changing in which order stuff is drawn. 2015-03-14 14:34:45 +01:00
Faerbit
a725cf8b43 Added switch for rendering world. 2015-03-13 15:43:10 +01:00
Faerbit
ab6d2e4ffd Implemented debug draw for bullet. 2015-03-13 15:30:21 +01:00
Faerbit
436495f0c7 Decreasing concurrent light count for better fps. 2015-03-12 19:24:50 +01:00
Faerbit
e2e343db1a Adding debug switchtes for flames and shadows. 2015-03-12 19:24:10 +01:00
Faerbit
efa2fb5ef5 Changing name of src to game to better communicate what is in it. 2015-03-12 15:08:30 +01:00