Commit Graph

354 Commits

Author SHA1 Message Date
Jérôme Leclercq 8a097afb1b Graphics/FramePass: Replace render rect parameter of CommandCallback by FramePassEnvironment 2022-02-27 18:37:05 +01:00
Jérôme Leclercq 28531f5118 Minor changes 2022-02-25 19:36:54 +01:00
Jérôme Leclercq 20a86312ff Graphics/FramePipeline: Replace maps with memory pools and indices 2022-02-21 20:47:11 +01:00
Jérôme Leclercq a1b6f51398 Minor fixes 2022-02-21 20:46:37 +01:00
Jérôme Leclercq e504c4a982 Minor fixes 2022-02-18 19:37:37 +01:00
Jérôme Leclercq 5ce8120a0c Graphics: Move FramePipeline passes to separate classes 2022-02-16 18:29:27 +01:00
Lynix ac89667b75 Restore Tut00, Tut01 and Tut02 2022-02-14 14:47:10 +01:00
Jérôme Leclercq f466a7494b Update for EnTT 3.9 2022-02-08 20:05:14 +01:00
Jérôme Leclercq de7fee348a Graphics/ForwardFramePipeline: Frustum cull lights 2022-02-02 19:39:46 +01:00
Jérôme Leclercq 25c446e10f GraphicsTest: Add light 2022-02-02 13:47:39 +01:00
Jérôme Leclercq 8a3a8547dc Add light support (WIP) 2022-02-02 12:55:39 +01:00
Jérôme Leclercq e6951d54a5 Shader: Switch type<subtype> to type[subtype] 2022-01-26 19:24:46 +01:00
Jérôme Leclercq 249aebac05 Merge branch 'master' into phong-lighting 2022-01-23 13:36:48 +01:00
Jérôme Leclercq 29786765c6 Big buffer refactor
Replaced RenderBuffer class, replaced AbstractBuffer by Buffer
2022-01-23 00:05:08 +01:00
Jérôme Leclercq 754a0016c7 Fix Vulkan performance warnings 2022-01-21 23:31:01 +01:00
Jérôme Leclercq b442af513c Fix compilation 2022-01-21 21:33:43 +01:00
Jérôme Leclercq 7976ea27b9 Add initial support for normal mapping and other light types 2022-01-18 06:01:15 +01:00
Jérôme Leclercq b0a3941f4e Add Phong lighting (WIP) 2022-01-11 19:47:29 +01:00
Jérôme Leclercq b43ed890d0 Fix scissor bugs (fixes Deferred Shading flare on Vulkan and widget scissor on OpenGL) 2021-12-25 20:25:39 +01:00
Jérôme Leclercq 0aff946665 Examples/DeferredShading: Add flare sprite 2021-12-23 17:40:03 +01:00
Jérôme Leclercq e2882f6595 Shader: Rename Parse function to ParseFromFile
to avoid ambiguous calls when passing const char*
2021-12-23 17:18:30 +01:00
Jérôme Leclercq a6b8caa5ba Examples/DeferredShading: Add god rays (WIP) 2021-12-16 23:12:09 +01:00
Jérôme Leclercq 90ab0e9438 Graphics/FramePass: Add SetReadInput method 2021-12-13 23:44:34 +01:00
Jérôme Leclercq 31c71e542e Examples/DeferredShading: Improve bloom quality 2021-12-12 23:04:05 +01:00
Jérôme Leclercq f64e16f7d8 Demo/DeferredShading: Add tone-mapping (without automatic exposure for now) 2021-12-05 17:03:08 +01:00
Jérôme Leclercq 3b1bf480e6 Fix some warnings 2021-12-03 22:18:03 +01:00
Jérôme Leclercq 653c9e0028 Graphics/GraphicsComponent: Make renderMask a mandatory parameter 2021-12-01 18:58:25 +01:00
Jérôme Leclercq 45e5baf194 Graphics: Rename MaterialPassFlag::Transparent by MaterialPassFlag::SortByDistance 2021-12-01 10:41:15 +01:00
Jérôme Leclercq 0c3bcf6c86 Graphics/Camera: Add render order property 2021-11-28 20:15:22 +01:00
Jérôme Leclercq 41e3e2bbf8 examples/PhysicsDemo: Add button widget 2021-11-21 19:08:20 +01:00
Jérôme Leclercq 237602a33f Widgets/Canvas: Add render mask parameter 2021-11-14 19:54:47 +01:00
Jérôme Leclercq ecd1e43890 Graphics: Add support for multi-viewer rendering (a bit hacky) 2021-11-13 20:08:03 +01:00
Jérôme Leclercq b2aedd394c Minor fixes 2021-10-29 16:50:50 +02:00
Jérôme Leclercq 9e1df33440 Graphics: Add RenderMask (WIP) 2021-10-29 16:50:38 +02:00
Jérôme Leclercq 66bbf63e87 Core/Algorithm: Add SafeCast 2021-10-26 20:26:13 +02:00
Jérôme Leclercq a18415216b Fix DeferredShading demo 2021-10-26 20:26:13 +02:00
Jérôme Leclercq 58485cfa79 Rework shader bindings (WIP) 2021-10-26 20:26:13 +02:00
Jérôme Leclercq a66f6faed1 Add widgets (WIP) 2021-10-04 09:25:45 +02:00
Jérôme Leclercq 3ad05614f9 Graphics: Use debug regions inside render pass to fix an issue with OpenGL context switch 2021-09-23 17:49:15 +02:00
Jérôme Leclercq 250044b47a Update main.cpp 2021-09-13 23:35:56 +02:00
Jérôme Leclercq 7a78e7be8c Fix compilation 2021-09-06 09:45:30 +02:00
Jérôme Leclercq 02a12d9328 Handle shader options of any type 2021-09-03 19:33:41 +02:00
Jérôme Leclercq 120d8f5427 Renderer/RenderWindow: Remove Display and GetImpl methods 2021-08-27 15:39:23 +02:00
Jérôme Leclercq 8546631f62 Add frustum culling (WIP) 2021-08-19 23:26:34 +02:00
Jérôme Leclercq 8db8533300 Fixes a lot of warnings and move math enums to enum classes 2021-08-19 20:27:20 +02:00
Jérôme Leclercq a2a0e6bd54 Graphics: Add DepthMaterial 2021-08-19 18:47:11 +02:00
Jérôme Leclercq e98e46164c PhysicsDemo: Add support of alpha testing to depth-prepass 2021-08-19 18:47:11 +02:00
Jérôme Leclercq bb5aea5244 Fix graphics examples 2021-08-19 18:47:11 +02:00
Jérôme Leclercq d647fdc59b Update main.cpp 2021-08-19 18:47:11 +02:00
Jérôme Leclercq a380645c19 Fix DeferredShading & GraphicsTest demo 2021-08-19 18:47:11 +02:00