Commit Graph

518 Commits

Author SHA1 Message Date
Jérôme Leclercq d53c245c78 Graphics/Model: Fix model not invalidating their bounding volume when their mesh AABB got updated 2018-05-03 13:32:53 +02:00
Lynix 8695e11436 Fix whitespace 2018-04-26 22:45:24 +02:00
Lynix 9f95a6122b Graphics/MaterialPipeline: Disable depth sorting for Translucent2D pipeline 2018-04-15 02:35:51 +02:00
Lynix bf0b8e9c76 Graphics: Fix clear being parasited by scissor operations 2018-04-15 02:31:51 +02:00
Lynix 19f17fa059 Graphics: Add 2D & cubemap white textures 2018-04-13 00:00:36 +02:00
Jérôme Leclercq 2da086b7df New Render queues (#161)
* Add new render queues proof of concept + scissoring support (WIP)

* Graphics: Adapt basic sprites rendering to new render queue system

* Graphics: Fix layers when rendering sprites

* Graphics/RenderQueue: Fix sprite default overlay

* Graphics: Enable scissor test by default

* SDK/Widgets: Enable scissoring on widgets

* Graphics: Handle almost everything with the new renderqueues system

Todo:
- Billboard rendering
- Proper model rendering

* Graphics/RenderQueue: Billboard drawing now works (WIP)

At 1/4 of previous code performances due to individually process of billboards

* Add new render queues proof of concept + scissoring support (WIP)

* Graphics: Adapt basic sprites rendering to new render queue system

* Graphics: Fix layers when rendering sprites

* Graphics/RenderQueue: Fix sprite default overlay

* Graphics: Enable scissor test by default

* SDK/Widgets: Enable scissoring on widgets

* Graphics: Handle almost everything with the new renderqueues system

Todo:
- Billboard rendering
- Proper model rendering

* Graphics/RenderQueue: Billboard drawing now works (WIP)

At 1/4 of previous code performances due to individually process of billboards

* Graphics/RenderQueues: Add full support for billboards

* Graphics/RenderQueue: Cleanup and improve billboard rendering

* Graphics/RenderQueue: Fix model drawing

* Examples/Particles: Fix lighting on space station

* Graphics: Cleanup forward render queue/technique

* Fix compilation under Linux

* Graphics/ForwardRenderTechnique: Fix case when scissoring is enabled on material but disabled on element

* Add support for Deferred Shading

* SDK/Widgets: Fix widget rendering

* Graphics: Remove legacy code from render queues

* Graphics: Fix some objects sometimes not showing up due to broken scissor box

* Fix compilation error

* Sdk/GraphicsGraphics: Fix bounding volume

* SDK/World: Fix self-assignation

* Update changelog for render queues
2018-04-11 19:36:52 +02:00
Lynix 42a263ed6a Graphics/Billboard: Fix bounding volume 2018-04-09 20:33:40 +02:00
Lynix 96f3104347 Fix Basic uber-shader compilation on some drivers 2018-03-10 13:02:30 +01:00
Lynix f706ac0a50 ColorBackground: Fix shader error 2018-03-10 10:38:31 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix 0a72ddb478 Graphics/SkyboxBackground: Fix distorsion on skybox 2017-12-01 10:20:00 +01:00
Lynix 786a11fc78 Graphics/Material: Fix missing reflection initialization 2017-10-31 00:14:50 +01:00
Lynix e7eaea37d7 Reencode resources 2017-10-26 23:38:33 +02:00
Lynix fce0db09e8 Add support for reflection in PhongLighting shader 2017-10-11 00:07:57 +02:00
Lynix c763dea4e1 Merge branch 'master' into reflection-mapping 2017-10-02 21:11:15 +02:00
larnin 40a678889d Vertex declaration changes (#135)
* Add type to ComponentType conversion

* Change type to ComponentType conversion

* Change assert to condition, add check on particle mapper.

* Change particle life type

* Changes as requested

* Fix Travis try 1

* Changes as requested

* move IsSuitableForComponent to inl
2017-10-02 15:21:03 +02:00
Gawaboumga bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00
Gawaboumga 5aa072cee3 New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module

Final touch

* NDK/SDK: Bring back initialization of Utility
2017-08-30 10:22:50 +02:00
Jérôme Leclercq b64ab862fe Fix warnings 2017-07-27 14:39:48 +02:00
Lynix 487bd64bcf Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-06-10 22:33:03 +02:00
Jérôme Leclercq 308f6d7448 #Oops 2017-05-29 20:00:39 +02:00
Lynix 75d57b3c29 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-05-11 20:52:04 +02:00
Lynix af41b240ad Graphics: Add support for depth-sorted sprites 2017-04-23 13:40:13 +02:00
Lynix 3e9ae9856a Forgot to save files.. 2017-04-22 17:14:56 +02:00
Lynix 52a4a590e1 Graphics/Material: Fix depth sorting flag handling for meshes 2017-04-22 17:13:51 +02:00
Lynix 06038a4d81 Cleanup pass 2017-04-22 15:08:05 +02:00
Lynix 496cdfd32c Merge branch 'master' into reflection-mapping 2017-02-23 00:08:57 +01:00
Gawaboumga c2e4ccaf72 Various little fixes (#118)
* Add missing override qualifier

* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
Lynix ead54e1c30 Merge branch 'master' into reflection-mapping 2017-02-18 15:07:17 +01:00
Lynix dc158d06a8 Fix warnings reported by Clang 2017-02-17 00:21:28 +01:00
Lynix 7d5d21f025 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-01-21 15:56:37 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix 6b949afb9b Graphics: Add support of skins to InstancedRenderable + big clean up 2017-01-09 01:52:00 +01:00
Lynix d2ee4744a9 Merge remote-tracking branch 'refs/remotes/origin/master' into reflection-mapping 2017-01-06 17:29:54 +01:00
Lynix a00dd39c51 Graphics/MaterialPipeline: Fix error when failing to override a shader 2016-12-21 18:25:22 +01:00
Lynix adf5cd32b8 Graphics/ForwardRenderTechnique: Remove useless uniform sending 2016-12-19 18:45:42 +01:00
Lynix 69296daac0 Graphics/SkyboxBackground: Reverse Z axis to match reflections
There's something wrong about skyboxes at the moment.
2016-12-19 18:25:19 +01:00
Lynix 37d36a89a6 Graphics: Add basic reflection mapping 2016-12-18 01:18:48 +01:00
Lynix 459c5e7a09 Graphics/Shaders: Add possibility to override Über-shaders at runtime 2016-12-18 01:16:26 +01:00
Lynix 682dab32b3 Graphics/Shader: Make texture units statics
Provides better performances and prevents the sampler type bug to happen
2016-12-18 01:13:46 +01:00
Lynix 5aa0c362a6 Graphics/DepthRenderTechnique: Fix SceneAmbient uniform not being sent 2016-12-15 23:08:56 +01:00
Lynix ff5b72b469 Graphics/DepthRenderTechnique: No longer require a viewer
Fixes crash
2016-12-15 14:37:12 +01:00
Lynix d62720d610 Utility/Buffer: Refactor Buffer classes 2016-12-09 08:56:46 +01:00
Lynix fd196cf0ae Graphics/TextSprite: Fix undefined behavior 2016-12-03 00:36:24 +01:00
Lynix e6e4a437bd Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-11-30 13:08:08 +01:00
Lynix 3c5594c206 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-28 17:27:12 +01:00
Lynix 3ae5bfad63 Graphics/TextSprite: Fix scale not affecting bounding volume 2016-11-24 09:40:04 +01:00
Lynix 8d86306933 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:07:52 +01:00
Lynix cd0e9d97b8 Graphics/Sprite: Add SetMaterial and SetTexture overloads for searching a resource name 2016-11-17 18:24:36 +01:00
Lynix 7f445def13 Fix some warnings from MSVC 2016-11-10 16:44:29 +01:00