Commit Graph

20 Commits

Author SHA1 Message Date
SirLynix
5833ce573d Graphics: Switch glyph atlases to R8 instead of A8
A8 can't be supported efficiently on API lacking texture swizzle support (DX, WebGL, WebGPU), so we swizzle in the shader instead
2023-02-22 19:11:41 +01:00
SirLynix
5567a39a65 Fix widgets 2023-02-02 20:34:25 +01:00
SirLynix
292ca60592 WIP 2023-02-02 20:34:25 +01:00
SirLynix
780359eb8b Graphics: Fix point light shadowmaps 2022-12-08 18:28:17 +01:00
SirLynix
f8238a6e6c Graphics: Implement point-light shadow-mapping 2022-12-08 18:17:13 +01:00
SirLynix
f580ba523d Graphics: Send shadow map res to shader 2022-12-08 18:17:13 +01:00
SirLynix
e990a320cc WIP 2022-12-08 18:17:13 +01:00
SirLynix
4a10c1f8fe Add shadow mapping (wip) 2022-12-08 18:17:13 +01:00
SirLynix
5502e51d71 Graphics: Move skinning to a separate module 2022-11-05 00:26:56 +01:00
SirLynix
ab154819a7 Graphics: Make use of new auto_binding 2022-10-31 22:44:19 +01:00
Jérôme Leclercq
dc6ce8427c Refactor material system (#382) 2022-10-31 19:53:41 +01:00
SirLynix
a9801894e8 Merge fixes 2022-08-25 12:59:01 +02:00
SirLynix
104f60f3e7 Add support for GPU skinning (WIP) 2022-08-25 12:59:01 +02:00
Lynix
ad8b46db38 Rename Diffuse to BaseColor 2022-07-19 20:02:01 +02:00
SirLynix
cefa620b20 PhongMaterial: Move TBN computation to fragment shader 2022-06-28 08:56:43 +02:00
SirLynix
510ef8c41e Update shaders to new import syntax 2022-06-05 18:51:46 +02:00
Lynix
83de0939bb Shader: Fix validation and cast from u32 to i32 2022-04-02 21:20:01 +02:00
SirLynix
8146ec251a Shader: Add support for partial sanitization 2022-03-25 12:54:51 +01:00
Jérôme Leclercq
801b06abfe Shader: Fix module overwriting 2022-03-15 18:35:02 +01:00
Jérôme Leclercq
0e92ef823d Graphics: Use module name to retrieve material shaders 2022-03-15 13:14:43 +01:00