Commit Graph

655 Commits

Author SHA1 Message Date
Jérôme Leclercq
08c2f711b0 Graphics/Material: Add UpdateBuffers 2021-02-15 18:16:19 +01:00
Jérôme Leclercq
b9151d8a7a Graphics: Improve TextureSampler handling 2021-01-27 18:50:49 +01:00
Jérôme Leclercq
a9e9ef2524 Graphics: Add GraphicalMesh and Model classes 2021-01-27 16:45:00 +01:00
Jérôme Leclercq
e3e5c4ba8f Graphics: Add ModelInstance class 2021-01-22 23:32:32 +01:00
Jérôme Leclercq
19783f7755 Graphics/Material: Rework UBO handling 2021-01-22 23:31:54 +01:00
Jérôme Leclercq
a0d5750ec8 Graphics: Add GetViewerDataUBO 2021-01-22 23:27:11 +01:00
Jérôme Leclercq
e6ada6846d Graphics: Fix PredefinedViewerData size 2021-01-22 18:04:58 +01:00
Jérôme Leclercq
bb18ca13ca Fix shader generation 2021-01-15 19:19:05 +01:00
Jérôme Leclercq
f327932738 Commit current work
Reworked conditions, added uber-shaders, comparison nodes, fixed Discard
2021-01-02 21:15:59 +01:00
Jérôme Leclercq
ad88561245 Graphics: Fix MaterialPipeline::GetRenderPipeline 2020-10-31 16:29:02 +01:00
Jérôme Leclercq
8027ae9abe Graphics: Fix PredefinedShaderBinding enum 2020-10-31 16:27:35 +01:00
Jérôme Leclercq
89609570f4 Graphics: WIP (almost working) 2020-10-30 23:08:48 +01:00
Jérôme Leclercq
3b2e375382 WIP 2020-09-26 20:04:05 +02:00
Jérôme Leclercq
95c9ad0fd8 Add graphics module base 2020-09-20 14:52:44 +02:00
Jérôme Leclercq
2a875c8bdc Remove Graphics module and fix compilation 2020-08-27 19:43:31 +02:00
Lynix
9507c56fc9 PixelFormat rename
PixelFormatInfo => PixelFormatDescription
PixelFormat => PixelFormatInfo
PixelFormatType => PixelFormat
2020-04-10 14:19:36 +02:00
Lynix
c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Lynix
548ede4613 Utility/*TextDrawer: Use float internally
+ some fixes
2020-01-25 19:07:20 +01:00
Lynix
6920c7c3f7 Fix skybox background looking like crap 2019-12-23 19:45:52 +01:00
Lynix
79b0bd644c Add text outlines! 2019-04-16 01:46:26 +02:00
Lynix
0ca823f9a6 Graphics: Remove sprite limit 2019-03-31 16:31:02 +02:00
Lynix
cdf9611080 Graphics/TileMap: Fix material index rendering 2019-03-10 18:13:03 +01:00
larnin
a18dbf6bc4 Fix empty tilemap (#198)
* Fix empty tilemap

* Yay
2019-02-13 01:02:57 +01:00
Lynix
c4cf6d2f53 Graphics/BasicRenderQueue: Extends maximum layer count to 65535 2018-10-29 22:06:09 +01:00
Jérôme Leclercq
ed46c87781 Refactor the way resources are loaded (#191)
* WIP

* WIP

* Font works

* WIP: Only Music remains

* Looks like it's working

* Fix oopsie

* Core/ObjectRef: Add cast functions

* Update ChangeLog.md

* Audio/SoundStream: Make sound stream thread-safe
2018-10-28 01:53:11 +02:00
Lynix
a3a4ed89b8 Graphics/Material: Fix reflection mode not being copied 2018-08-25 22:41:05 +02:00
Lynix
b9e36f36e2 Graphics/TileMap: Fix sprite data corruption with multiple materials 2018-08-23 17:46:18 +02:00
Jérôme Leclercq
8cdc36c948 Graphics/Material: Add parameter for vertex color 2018-06-15 14:15:23 +02:00
Jérôme Leclercq
41e2d3e448 Graphics/Material: Add EnableVertexColor temporary 2018-06-15 14:13:18 +02:00
Lynix
843e5545b6 Graphics/BasicRenderQueue: Fix billboards not registering their layer 2018-06-06 21:40:13 +02:00
Lynix
e9f0bdeb25 Graphics/ForwardRenderTechnique: Optimize sprite rendering 2018-06-06 21:38:40 +02:00
Lynix
bc2f6f67cc Graphics/InstancedRenderable: Add Clone method 2018-06-06 19:36:46 +02:00
Lynix
db0e3267da Graphics/AbstractViewer: Add ProjectDepth method 2018-05-29 23:55:51 +02:00
Lynix
e46aa6772e Graphics/AbstractViewer: Fix Unproject code 2018-05-29 21:05:03 +02:00
Lynix
af34567ae7 Graphics/AbstractViewer: Add Project/Unproject methods 2018-05-27 21:45:06 +02:00
Lynix
b782fd8431 Graphics/Model: add ModelLibrary, ModelManager, ModelSaver 2018-05-27 14:15:29 +02:00
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