Commit Graph

16 Commits

Author SHA1 Message Date
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