Steffen Fündgens
|
cf836b151a
|
Mirrored rendering of pointlight shadows, so that they are at the correct positions now, but occlude everything. -- Fabian
|
2015-01-19 18:22:25 +01:00 |
|
Jasper
|
65a826f2af
|
some quick updates for the camera before working on buttons
|
2015-01-19 17:12:58 +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
|
b16a90bd15
|
Calulating fogEnd by farPlane.
|
2014-12-19 13:27:05 +01:00 |
|
Faerbit
|
5b2c4a6bbc
|
Fixed crashing if no lights are present.
|
2014-12-19 13:09:25 +01:00 |
|
Faerbit
|
799f191485
|
Disabled point light shadows, because they look very wrong.
|
2014-12-15 22:59:13 +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
|
cc93cf7259
|
Removing commented code.
|
2014-12-15 12:55:48 +01:00 |
|
Faerbit
|
36f7217288
|
Moved calculation of shadowMVP to the CPU side.
|
2014-12-15 12:41:30 +01:00 |
|
Faerbit
|
21009d0032
|
Fixed a parenthesis.
|
2014-12-15 11:53:31 +01:00 |
|
Faerbit
|
50c4b16367
|
Moving MVP calculation to the CPU side.
|
2014-12-15 11:45:31 +01:00 |
|
Faerbit
|
44f2bd953d
|
Replacing buildFrustum with standard glm call.
|
2014-12-15 11:22:32 +01:00 |
|
Faerbit
|
80cbc58f81
|
Implemented cube map depth rendering from lighting positions.
|
2014-12-15 02:09:33 +01:00 |
|
Faerbit
|
e9a47db962
|
Made getLights return a pointer to avoid copying around large amounts of light data every frame.
|
2014-12-15 01:12:51 +01:00 |
|
Faerbit
|
e531ede144
|
Init graphics with the level instead of passing it to the render function everytime.
|
2014-12-15 01:05:46 +01:00 |
|
Steffen Fündgens
|
9764bc9d0b
|
Changed fogColor to fogColour. Moved some global Parameters to the xml.
|
2014-12-12 15:41:17 +01:00 |
|
Faerbit
|
f3255f1053
|
Removing stencil buffer from depthTextures.
|
2014-12-12 02:19:41 +01:00 |
|
Faerbit
|
72a6e7c3c9
|
Setting wrap mode of depthTextures to CLAMP_TO_EDGE to remove seams.
|
2014-12-04 17:39:35 +01:00 |
|
Faerbit
|
0c5dbee654
|
Implemented cascaded shadow mapping.
|
2014-12-04 17:19:58 +01:00 |
|
Faerbit
|
41d8e23c60
|
Disable culling because it seems to give slightly worse FPS.
|
2014-12-04 14:46:39 +01:00 |
|
Faerbit
|
ed960eff53
|
Adding culling.
|
2014-12-04 13:23:25 +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
|
eb90142e81
|
Moving shader management completely into graphics.
|
2014-12-01 17:49:59 +01:00 |
|
Faerbit
|
b49f93afd4
|
Removing spammy comments.
|
2014-12-01 17:44:58 +01:00 |
|
Faerbit
|
ef8fbb7296
|
Adding namespacing.
|
2014-12-01 17:40:39 +01:00 |
|
Faerbit
|
2d7165da66
|
Removing useless includes.
|
2014-12-01 17:40:06 +01:00 |
|
Faerbit
|
8af201fd2f
|
You can render objects with multiple shaders now.
|
2014-11-28 00:17:56 +01:00 |
|
Faerbit
|
67bcbf0398
|
Changed fog functions a little bit more. Looks nice enough.
|
2014-11-25 13:54:00 +01:00 |
|
Faerbit
|
22c9a7a936
|
Changed skybox to skydome.
|
2014-11-22 00:39:58 +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 |
|
Fabian Klemp
|
c87d62cae9
|
Added directional lighting.
|
2014-11-17 17:51:15 +01:00 |
|
Fabian Klemp
|
0a0dcd90f8
|
Merge branch 'master' of github.com:Faerbit/swp
Conflicts:
camera.cc
graphics.cc
|
2014-11-17 13:31:01 +01:00 |
|
Fabian Klemp
|
a19039426c
|
Camera now returns a viewing vector.
|
2014-11-17 13:29:41 +01:00 |
|
Faerbit
|
3ddcb72d5a
|
Reenabling resizeCallback.
|
2014-11-15 15:19:48 +01:00 |
|
Faerbit
|
4686f94082
|
Changing code to work with getCamera using pointers now.
|
2014-11-15 14:55:11 +01:00 |
|
Fabian Klemp
|
04234b1f1c
|
Made mouse control camera. (Stupid init of camera...)
|
2014-11-14 18:33:42 +01:00 |
|
Fabian Klemp
|
7b331edff9
|
Reorganized code quite a bit. Resizing is deactivated currently.
|
2014-11-14 16:47:47 +01:00 |
|
Faerbit
|
4231866d40
|
Adapting graphics to new camera model.
|
2014-11-13 18:17:58 +01:00 |
|
Faerbit
|
2ddf01ede2
|
Removing hard coded values from graphics and moving it into the properties of object and model.
|
2014-11-13 01:22:33 +01:00 |
|
Faerbit
|
16f4890458
|
Added a update function to the level which rotates the bunny.
|
2014-11-13 00:40:28 +01:00 |
|
Faerbit
|
c38629823d
|
Removed own Shader wrapper, because it does nothing useful.
|
2014-11-08 02:45:32 +01:00 |
|
Faerbit
|
34d925cdfe
|
Moving material paramters from graphics to material class.
|
2014-11-08 01:44:24 +01:00 |
|
Faerbit
|
31447458aa
|
Removing unnecessary includes.
|
2014-11-08 01:15:50 +01:00 |
|
Faerbit
|
fdf0201f4d
|
Changing a few lighting parameters.
|
2014-11-08 01:15:09 +01:00 |
|
Faerbit
|
49acfc4d97
|
Adding specular part to lighting model.
|
2014-11-07 11:37:26 +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 |
|
Fabian Klemp
|
769514af88
|
Got phong shading working.
|
2014-10-31 12:56:09 +01:00 |
|
Faerbit
|
c505553439
|
First attempt at Phong shading. Build broken.
|
2014-10-31 10:38:57 +01:00 |
|
Faerbit
|
5c4b125e4d
|
Restructured some elements from the graphis into the level. Now using a vector for all objects.
|
2014-10-30 23:54:19 +01:00 |
|
Fabian Klemp
|
752ee67481
|
Rewrote graphics to use new classes.
|
2014-10-24 10:57:28 +02:00 |
|
Faerbit
|
7f7398e295
|
Moving included to header.
|
2014-10-20 18:49:10 +02:00 |
|
Faerbit
|
083f4785ae
|
Organizing Code. (Deleted lookAt as it is available as part of GLM.)
|
2014-10-20 18:16:47 +02:00 |
|
Faerbit
|
81d4b67030
|
Renaming basic-texturing to graphics.
|
2014-10-20 18:15:55 +02:00 |
|