Commit Graph

86 Commits

Author SHA1 Message Date
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
a8c54abdd0 Graphics: Add skinning support to DepthMaterial 2022-09-08 08:57:37 +02:00
SirLynix
7ada266917 Graphics: Add PredefinedSkeletalData 2022-08-25 12:59:01 +02:00
SirLynix
b37af6da31 Final skeletal fixes 2022-08-25 12:59:01 +02: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
bcdb0f98f0 Move Cook-Torrance functions to a separate module 2022-07-18 22:04:44 +02:00
SirLynix
b2fad27618 Fix basic material and add demo 2022-07-18 22:04:44 +02:00
SirLynix
ccd7885213 Fix compilation 2022-07-18 22:04:44 +02:00
SirLynix
3e21b4bea6 Add PBR rendering (WIP) 2022-07-18 22:04:44 +02:00
SirLynix
cefa620b20 PhongMaterial: Move TBN computation to fragment shader 2022-06-28 08:56:43 +02:00
SirLynix
6f18a02999 Add fullscreen vertex shader module 2022-06-16 19:26:57 +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
Jérôme Leclercq
e40e8eb204 Shader: Change module system (no longer based on path) 2022-03-14 18:30:55 +01:00
Jérôme Leclercq
2f26a1d9c7 Graphics: Move LightData to a shader module and add hotreload in debug 2022-03-14 18:30:55 +01:00
Jérôme Leclercq
db0c1e6e8c Shader: Add module resolver + use modules for engine shaders 2022-03-14 18:30:55 +01:00
Jérôme Leclercq
99e07e6e1e Shader: Add module statement 2022-03-14 18:30:55 +01:00
Jérôme Leclercq
a1b6f51398 Minor fixes 2022-02-21 20:46:37 +01:00
Jérôme Leclercq
402e16bd2b Shader: Handle type as expressions 2022-02-17 13:23:56 +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
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
Lynix
9bd411e53c Shader/SPIRV: Add support for swizzling with one component 2021-12-18 15:51:20 +01:00
Jérôme Leclercq
e84ec8e4ac Proof of concept 2021-10-26 20:26:13 +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
abdcd63058 Graphics: Add support for draw call data (texture overlay) 2021-09-05 18:26:12 +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
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
1b4ab7e625 Graphics/BasicMaterial: Improve shader 2021-07-08 11:37:33 +02:00
Jérôme Leclercq
81b64e4fe2 Fix some shaders 2021-07-08 11:06:54 +02:00
Jérôme Leclercq
d3e0d8a39f Shader: Replace select_opt by const_select 2021-07-08 10:53:11 +02:00
Jérôme Leclercq
bfab451633 Remove resources headers (as they will be generated on compilation) 2021-07-07 22:44:38 +02:00