Fabian Klemp
|
2ddd753575
|
Additional debug stuff.
|
2015-01-30 15:47:07 +01:00 |
|
Fabian Klemp
|
60372cf1a1
|
Only sample shadows from the first light source.
|
2015-01-30 15:11:00 +01:00 |
|
Faerbit
|
a3e6da2ada
|
Now mirroring the cube face on their own again.
|
2015-01-28 17:26:02 +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 |
|
Faerbit
|
d41149e29e
|
Made progress on point light shadows. Not quite sure what is happening.
|
2015-01-22 21:21:09 +01:00 |
|
Steffen Fündgens
|
1940b72b00
|
Increased height of the fog, because of new Scaling of the heightmap. -- Fabian
|
2015-01-19 18:21:29 +01:00 |
|
Steffen Fündgens
|
a8fee3ad84
|
Fixing shader; merge was wrong.
|
2015-01-19 13:44:38 +01:00 |
|
Steffen Fündgens
|
5dcabf0290
|
Merge branch 'linearized' of github.com:Faerbit/swp
|
2015-01-19 13:16:08 +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
|
7a830a472e
|
Linearization of depth buffer. Didn't change graphics in any way.
|
2015-01-19 00:40:28 +01:00 |
|
Faerbit
|
b16a90bd15
|
Calulating fogEnd by farPlane.
|
2014-12-19 13:27:05 +01:00 |
|
Faerbit
|
76dbdac70c
|
Revert "Not using pointlight shadows."
This reverts commit e00cb787c8 .
|
2014-12-15 22:00:23 +01:00 |
|
Steffen Fündgens
|
e099c231c7
|
Not using pointlight shadows.
|
2014-12-15 16:48:42 +01:00 |
|
Faerbit
|
7e31717124
|
Point light shadows for the first point light does something. Seems pretty broken.
|
2014-12-15 15:58:55 +01:00 |
|
Faerbit
|
371f56695a
|
Reducing OpenGL version number to 3.2 again.
|
2014-12-15 15:10:19 +01:00 |
|
Faerbit
|
f108b64acc
|
Now using OpenGL 4.0.
|
2014-12-15 13:31:31 +01:00 |
|
Faerbit
|
7f21f0e872
|
Limited light sources to 32 instead of 128.
|
2014-12-15 01:16:43 +01:00 |
|
Faerbit
|
76fd5ade92
|
Put some code in a function.
|
2014-12-05 00:57:17 +01:00 |
|
Faerbit
|
0c5dbee654
|
Implemented cascaded shadow mapping.
|
2014-12-04 17:19:58 +01:00 |
|
Faerbit
|
a54752a905
|
Implemented early bailing.
|
2014-12-04 15:08:08 +01:00 |
|
Faerbit
|
8c427003cd
|
Implemented poisson sampling.
|
2014-12-04 14:53:07 +01:00 |
|
Faerbit
|
1ab7783d41
|
Improving bias on slopes.
|
2014-12-04 13:26:06 +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
|
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
|
67bcbf0398
|
Changed fog functions a little bit more. Looks nice enough.
|
2014-11-25 13:54:00 +01:00 |
|
Faerbit
|
51bb3a9868
|
Changed fog function from exp to linear.
|
2014-11-25 13:24:02 +01:00 |
|
Faerbit
|
4039bad9f9
|
Improved fog a little bit.
|
2014-11-21 02:46:02 +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
|
9367026ef0
|
Implemented simple fog.
|
2014-11-19 01:58:48 +01:00 |
|
Faerbit
|
1c848f35e6
|
Now using built-in exp function.
|
2014-11-19 01:58:25 +01:00 |
|
Faerbit
|
e8ad41c75b
|
Changing how the intensity is calculated.
|
2014-11-19 00:59:33 +01:00 |
|
Faerbit
|
89a3018221
|
Clamping diffuse color for more realistic lighting.
|
2014-11-19 00:46:51 +01:00 |
|
Fabian Klemp
|
c87d62cae9
|
Added directional lighting.
|
2014-11-17 17:51:15 +01:00 |
|
Fabian Klemp
|
f87af894c1
|
Added alpha shading.
|
2014-11-17 16:15:56 +01:00 |
|
Faerbit
|
49acfc4d97
|
Adding specular part to lighting model.
|
2014-11-07 11:37:26 +01:00 |
|
Faerbit
|
b74534c62a
|
Only take calculate light contribution with meaningful contributions.
|
2014-11-04 12:24:19 +01:00 |
|
Faerbit
|
589e0df6ea
|
Shader now respects distance between light source and fragment.
|
2014-11-04 00:47:35 +01:00 |
|
Faerbit
|
afbf41ea0d
|
Shading now respects colours.
|
2014-11-03 23:54:35 +01:00 |
|
Fabian Klemp
|
b68a2bb079
|
Renamed shaders.
|
2014-10-31 13:06:14 +01:00 |
|