Commit Graph

153 Commits (cf7a71111d981eb1713473bf4561bea823913f6d)

Author SHA1 Message Date
Martin Felis cf7a71111d Added drawing of camera splits 2018-06-29 16:19:03 +02:00
Martin Felis 0950a04022 Some preparations for cascaded shadow maps 2018-06-25 22:14:30 +02:00
Martin Felis 75677a5b70 Tweaked shadow map to follow camera movement 2018-06-25 21:53:43 +02:00
Martin Felis 24516b592e Added SSAOPower variable and exposed to GUI 2018-06-25 20:20:36 +02:00
Martin Felis 894377d440 Exposed shadow map bias to light gui 2018-06-25 16:55:01 +02:00
Martin Felis 33a2e1d8cb Ported SSAO to deferred lighting 2018-06-22 17:31:53 +02:00
Martin Felis 3d2cdf368a Enabled shadow mapping in deferred lighting 2018-06-22 16:51:15 +02:00
Martin Felis 40f91d4666 Cleanup 2018-04-24 11:41:43 +02:00
Martin Felis 796886b717 And after a great deal of slow debugging we have deferred blinn-phong. Yayso 2018-04-10 14:08:28 +02:00
Martin Felis 37ffc2da1e using proper normals during the SSAO pass 2018-04-05 14:36:00 +02:00
Martin Felis 39d2bb68f8 SSAO getting close (excited) 2018-04-05 12:39:30 +02:00
Martin Felis 532a0fa9f2 Initial work to support SSAO: rendering position and normal maps 2018-04-04 22:59:22 +02:00
Martin Felis eb189326b1 Can now draw mesh hierarchies from gltf files (no textures, not yet animated) 2018-03-28 22:21:21 +02:00
Martin Felis 07fbfb3c8c intermediate commit 2018-03-28 20:05:51 +02:00
Martin Felis 5a0d1a91e9 intermediate commit 2018-03-28 14:01:35 +02:00
Martin Felis 711b6ab7fe intermediate commit 2018-03-28 11:46:21 +02:00
Martin Felis ed18691b1a Working on gltf loading and debug gui for gltf assets 2018-03-22 23:05:45 +01:00
Martin Felis a51c1936f2 Can now load gltf models (but not display them yet) 2018-03-19 23:01:46 +01:00
Martin Felis 8b2dc08ec3 added tinygltf 2018-03-19 23:00:51 +01:00
Martin Felis 077db8b04e Fixed wrong shadow maps on first start 2018-03-16 11:40:10 +01:00
Martin Felis fc58ba5513 Use a shadow2DSampler for softer shadows 2018-03-16 11:36:20 +01:00
Martin Felis 3c5e281900 Cleanup and improvement of shadow map quality 2018-03-15 23:00:53 +01:00
Martin Felis f27a354226 Simple shadow mapping works - Yay 2018-03-15 11:54:00 +01:00
Martin Felis cb13324846 Working on shadow maps 2018-03-15 11:01:55 +01:00
Martin Felis ef4479ba71 Drawing of light framebuffers kind of works 2018-03-12 21:48:26 +01:00
Martin Felis 0810224356 Rendering of perspective linearized depth map kind of works now 2018-03-11 22:05:42 +01:00
Martin Felis fb3e1e7432 Cleanup, using blinn-phong 2018-03-11 17:30:56 +01:00
Martin Felis 8de75c7c47 Added specular highlights 2018-03-11 14:16:23 +01:00
Martin Felis cf024f4f72 Diffuse and ambient lighting implemented 2018-03-11 11:58:50 +01:00
Martin Felis 499eba60b7 Shader reload works 2018-03-10 21:22:35 +01:00
Martin Felis c1a82427c0 Prepared reloading of shaders 2018-03-10 08:48:41 +01:00
Martin Felis e9c7a66d42 Re-enabled camera movement 2018-03-09 16:44:40 +01:00
Martin Felis 69471bba84 Using TextureRef for submitting the scene render to ImGui::Image() 2018-03-09 16:16:39 +01:00
Martin Felis d6ac057ce9 (De-)serialization of dock state works 2018-03-04 21:10:57 +01:00
Martin Felis 5cacee03c1 New docks are now automatically added as tabs 2018-03-04 12:31:05 +01:00
Martin Felis 85c0b2cf42 Merge branch 'opengl3' of ssh://i13s.de/martin/protot into opengl3 2018-03-04 11:41:04 +01:00
Martin Felis 14dd2ac35e Imported Lumix imgui_dock files from commit 2f36422e145f535f5 2018-03-02 19:08:13 +01:00
Martin Felis 2348929800 Removed old bgfx files 2018-03-01 13:16:42 +01:00
Martin Felis 2550bb5407 Can now set index buffers and use them ... and draw a 2-size-unit cube 2018-02-28 21:36:44 +01:00
Martin Felis e2671e8de4 Fixed perspective camera gedöns 2018-02-28 21:11:51 +01:00
Martin Felis c86f535571 Properly drawing VertexArrayMesh plane... yay 2018-02-28 13:37:33 +01:00
Martin Felis 76985c878f Can draw colored stuff using VertexArrayMeshes 2018-02-28 12:39:12 +01:00
Martin Felis 076f051d48 Colored coordinate system works 2018-02-28 10:01:39 +01:00
Martin Felis 454ea72a85 Added OpenGL error logging, trying to draw colored lines... 2018-02-27 23:31:13 +01:00
Martin Felis 207094b0c8 Trying to draw a colored coordinate system ... 2018-02-27 23:15:07 +01:00
Martin Felis d5fe4d366f Initial work for perspective camera 2018-02-27 21:32:29 +01:00
Martin Felis 39fe10ffc7 Serializing camera parameters, added Textures and default texture 2018-02-19 14:33:29 +01:00
Martin Felis 9c56d3f061 Rendering linearized depth buffer by rendering it to another RGB texture 2018-02-17 23:49:56 +01:00
Martin Felis ea2b5d1e13 Drawing of the Color texture already works... yay ... depth will be trickier 2018-02-16 22:43:40 +01:00
Martin Felis 540e0d6db8 Implemente LookAt and using values from camera for near and far values for depth rendering 2018-02-16 22:06:09 +01:00