Faerbit
|
4ba056c6d9
|
Correctly intializing farPlane variable in Level.
|
2015-06-03 02:12:00 +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
|
819584ef15
|
Implemented updating of shadow render queue. Doesn't work satisfactory right now. (#10)
|
2015-06-02 00:18:22 +02:00 |
|
Faerbit
|
f389aa2f4a
|
Fixed pointlight shadows not getting rendered correctly.
|
2015-06-01 00:57:36 +02:00 |
|
Faerbit
|
53e8e6d719
|
Fixing a memory leak by converting pointers to smart pointers.
|
2015-05-31 21:17:46 +02:00 |
|
Faerbit
|
a8ce6916e7
|
Refactored level.cc to use the new getSurroundingChunks function.
|
2015-05-28 11:23:54 +02:00 |
|
Faerbit
|
b110551db6
|
Added a parameter to getSurroundingChunks to limit the chunkRenderDistance.
|
2015-05-28 11:23:27 +02:00 |
|
Faerbit
|
9ea1630057
|
Fixed a bug in getSurroundingChunks.
|
2015-05-28 11:16:30 +02:00 |
|
Faerbit
|
b6467a92a3
|
Added getSurroundingChunks method to level.
|
2015-05-27 10:27:08 +02:00 |
|
Faerbit
|
a173e1b9eb
|
Making constant variable constant.
|
2015-04-25 22:56:11 +02:00 |
|
Faerbit
|
9b89007674
|
Removing mutexes because threading is going to be implemented differently.(#6)
|
2015-04-25 22:38:44 +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
|
d642582956
|
Protecting some functions with the light_mutex.
|
2015-03-24 20:41:38 +01:00 |
|
Faerbit
|
127ee7a6ca
|
Adding mutex to level.
|
2015-03-24 20:37:56 +01:00 |
|
Faerbit
|
fc2ce96771
|
Moving updateClosestLights() to level class.
|
2015-03-24 19:50:26 +01:00 |
|
Faerbit
|
796db123b7
|
Removing useless assignment.
|
2015-03-24 19:09:14 +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
|
43b752ee63
|
Implemented cross chunk objects. This concludes the chunk render implementation and closes #4.
|
2015-03-18 08:54:38 +01:00 |
|
Faerbit
|
f9212c9938
|
Increased renderdistance a bit to prevent popping of chunks.
|
2015-03-18 08:53:31 +01:00 |
|
Faerbit
|
79223b4c02
|
Do not render behind the skydome.
|
2015-03-17 19:10:23 +01:00 |
|
Faerbit
|
ac48ab8cc0
|
Now also using the correct chunks for the objects and rendering only the chunks which are necessary.
|
2015-03-17 14:54:18 +01:00 |
|
Faerbit
|
d0fed9a321
|
Now generating seperate terrain meshes for chunks.
|
2015-03-17 12:08:49 +01:00 |
|
Faerbit
|
498be94102
|
Added generation of chunks.
|
2015-03-17 09:39:42 +01:00 |
|
Faerbit
|
7b742e913f
|
Introduced chunk class.
|
2015-03-16 16:58:50 +01:00 |
|
Faerbit
|
73f7ec6a70
|
Removing unsafe deleteObject function.
|
2015-03-16 16:15:12 +01:00 |
|
Faerbit
|
e06eea7c5d
|
Adding debug key to print the position.
|
2015-03-15 18:06:24 +01:00 |
|
Faerbit
|
f35d35cc94
|
Do not render waterPlane if it doesn't exist.
|
2015-03-14 15:01:06 +01:00 |
|
Faerbit
|
370135fca8
|
Made heightmap path configurable from level.
|
2015-03-14 13:00:47 +01:00 |
|
Faerbit
|
9a54c033c0
|
Changed how key states are handled.
|
2015-03-12 19:14:14 +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 |
|