Commit Graph

665 Commits

Author SHA1 Message Date
Jérôme Leclercq
a33a118ed3 Minor fixes 2021-11-24 22:29:09 +01:00
Jérôme Leclercq
d2cfc5fdf5 Graphics/GraphicsComponent: Add visibility control 2021-11-24 22:07:56 +01:00
Jérôme Leclercq
c9aba016a8 Graphics/Sprite: Add [Get|Set]TextureCoords & SetTextureRect 2021-11-24 22:00:29 +01:00
Jérôme Leclercq
b8b0552a4e Graphics: Fix blending (temporary fix until frame graph handles it) 2021-11-24 21:56:33 +01:00
Jérôme Leclercq
8f1cc79dc2 Graphics/InstancedRenderable: Add signal to tell some renderables need to be rebuild 2021-11-21 19:06:10 +01:00
Jérôme Leclercq
2a8568f2ac Graphics/InstancedRenderable: Replace constructor AABB with UpdateAABB method 2021-11-21 17:14:39 +01:00
Jérôme Leclercq
83772ab035 Graphics/UberShader: Fix stage type check 2021-11-14 19:52:52 +01:00
Jérôme Leclercq
cf8f76baa6 Graphics/ForwardframePipeline: Fix render mask test 2021-11-13 20:08:16 +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
342c053faa Graphics/Camera: Add clear color per viewer 2021-11-13 20:06:34 +01:00
Lynix
d872428658 Graphics/SpriteChainRenderer: Warning fix 2021-10-30 00:52:09 +02:00
Jérôme Leclercq
9e1df33440 Graphics: Add RenderMask (WIP) 2021-10-29 16:50:38 +02:00
Jérôme Leclercq
078060cfc9 Fix some issues found with WSLg 2021-10-29 14:38:56 +02:00
Jérôme Leclercq
a3d9aaf1fb Merge branch 'master' into automatic-file-fix 2021-10-28 09:57:59 +02:00
Jérôme Leclercq
a02b1952c0 Apply header order fix 2021-10-28 09:53:56 +02:00
Jérôme Leclercq
4067116eb8 Graphics/ForwardFramePipeline: Handle material invalidation correctly 2021-10-26 20:26:13 +02:00
Jérôme Leclercq
6bab824e4f Graphics: Use default white texture if material has empty texture slot 2021-10-26 20:26:13 +02:00
Jérôme Leclercq
e84ec8e4ac Proof of concept 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
ed7ab31933 Apply copyright fix to all files 2021-10-26 14:31:35 +02:00
Jérôme Leclercq
14fb2b83ae Minor fixes 2021-10-25 15:48:49 +02:00
Jérôme Leclercq
7e65f4b544 Graphics: Fix warning 2021-10-19 14:34:35 +02:00
Lynix
c3999d708f Graphics: Add DistanceAsSortKey function 2021-10-18 16:46:03 +02:00
Jérôme Leclercq
a66f6faed1 Add widgets (WIP) 2021-10-04 09:25:45 +02:00
Jérôme Leclercq
0442db1c53 Shader: Add support for compound operators 2021-09-24 15:39:03 +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
aa2021dc49 Graphics/GuillotineTextureAtlas: Handle texture instantiation failure (happens if size is too big) 2021-09-21 17:40:43 +02:00
Jérôme Leclercq
74534236ef Graphics: Fix some warnings 2021-09-13 23:35:46 +02:00
Jérôme Leclercq
7f6b61df53 Graphics/SpriteChainRenderer: Improve copy 2021-09-13 23:35:31 +02:00
Jérôme Leclercq
db85372778 Renderer/Texture: Add Copy method (wip) 2021-09-13 23:34:51 +02:00
Jérôme Leclercq
72f2a5b531 Graphics: Add initial support for transparency 2021-09-08 19:08:44 +02:00
Jérôme Leclercq
099f182126 Graphics/SpriteChainRenderer: Fix single sprite data over multiple vertex buffers 2021-09-07 19:12:25 +02:00
Jérôme Leclercq
ece18bf472 Implement back text rendering (WIP) 2021-09-07 18:45:10 +02:00
Jérôme Leclercq
7a78e7be8c Fix compilation 2021-09-06 09:45:30 +02:00
Jérôme Leclercq
abdcd63058 Graphics: Add support for draw call data (texture overlay) 2021-09-05 18:26:12 +02:00
Jérôme Leclercq
26e5a41dce Graphics/SpriteChainRenderer: Reuse vertex buffers and memory 2021-09-05 16:04:10 +02:00
Jérôme Leclercq
938d965e06 Graphics: Add SpriteChainRenderer 2021-09-05 15:50:17 +02:00
Jérôme Leclercq
732bb89a86 Graphics/UberShader: Add config callback 2021-09-05 15:46:59 +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
2b9d8becea Math: Rework Frustum class 2021-08-23 18:43:34 +02:00
Jérôme Leclercq
db99196d3a Fix compilation with Linux 2021-08-21 02:04:53 +02:00
Jérôme Leclercq
0179ef4d65 Graphics: Improve frustum culling (do it once per viewer) 2021-08-21 01:42:53 +02:00
Jérôme Leclercq
8546631f62 Add frustum culling (WIP) 2021-08-19 23:26:34 +02:00
Jérôme Leclercq
a2a0e6bd54 Graphics: Add DepthMaterial 2021-08-19 18:47:11 +02:00
Jérôme Leclercq
7aafcfaae9 Minor stuff 2021-08-19 18:47:11 +02:00
Jérôme Leclercq
f5dac32020 Minor stuff 2021-08-19 18:47:11 +02:00
Jérôme Leclercq
5ec7200644 Fix compilation 2021-08-19 18:47:11 +02:00
Jérôme Leclercq
793952eb67 Graphics: Add Camera class 2021-08-19 18:47:11 +02:00
Jérôme Leclercq
9a311da2c8 Graphics: Add MaterialPassRegistry 2021-08-19 18:47:11 +02:00
Jérôme Leclercq
5b1123b971 Graphics: Fix WorldInstance removal while being in use 2021-08-19 18:47:11 +02:00