Faerbit
|
fe8b0a57cd
|
Optimized scheduling once again.
|
2015-06-04 11:22:27 +02:00 |
|
Faerbit
|
8452d18575
|
Fixing a bug in the scheduling.
|
2015-06-03 14:05:57 +02:00 |
|
Faerbit
|
4c40ddd12d
|
Simplifying if condition.
|
2015-06-03 11:23:17 +02:00 |
|
Faerbit
|
00a08bf5f0
|
Fixing a crash when maxShadowRenderCount is set to one.
|
2015-06-03 02:25:47 +02:00 |
|
Faerbit
|
52ea40100f
|
Correcting scheduling of shadows.
|
2015-06-03 02:18:31 +02:00 |
|
Faerbit
|
67b44042bd
|
Made getClosestLights output more lights to take advantage of the higher maxShadowSampleCount.
|
2015-06-02 21:37:58 +02:00 |
|
Faerbit
|
1ef8047f42
|
Implemented a function to check how high the maxShadowSampleCount should be.
|
2015-06-02 21:14:54 +02:00 |
|
Faerbit
|
b8114ebd91
|
Increasing maxShadowSampleCount to 26.
|
2015-06-02 21:14:22 +02:00 |
|
Faerbit
|
a6876f0872
|
Optimizing scheduling of shadow renders.
|
2015-06-02 20:46:21 +02:00 |
|
Faerbit
|
5f779ea3d5
|
Fixing moving shadows of flames once again.
|
2015-06-02 20:15:48 +02:00 |
|
Faerbit
|
56ca9d694b
|
Added a little bit of input validation.
|
2015-06-02 18:39:17 +02:00 |
|
Faerbit
|
b55a5e1906
|
Merge branch 'shadow-renderqueue'
|
2015-06-02 17:39:08 +02:00 |
|
Faerbit
|
ea8e7b6048
|
Fixing the rendering of the shadows. Closes #10.
|
2015-06-02 17:36:55 +02:00 |
|
Faerbit
|
e8c1dee3b5
|
Improved scheduling of point lights for the render queue by fixing a bug.
|
2015-06-02 00:33:55 +02:00 |
|
Faerbit
|
819584ef15
|
Implemented updating of shadow render queue. Doesn't work satisfactory right now. (#10)
|
2015-06-02 00:18:22 +02:00 |
|
Faerbit
|
ea194309ef
|
Moving shadows of flames correctly with wind.
|
2015-06-01 22:35:05 +02:00 |
|
Faerbit
|
b280ad8c12
|
Small performance optimization.
|
2015-06-01 16:17:37 +02:00 |
|
Faerbit
|
90dbd52aca
|
Implemented rendering of shadow render queue (#10).
|
2015-06-01 15:47:30 +02:00 |
|
Faerbit
|
2a09c7f83c
|
Fixing wrong shader getting used.
|
2015-06-01 13:35:23 +02:00 |
|
Faerbit
|
3fffa4c4ca
|
Removing code meant for shadow-renderqueue branch.
|
2015-06-01 13:29:08 +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 |
|