Commit Graph

1238 Commits

Author SHA1 Message Date
XiaoQiDigipen b6724eed77
Merge pull request #314 from SHADE-DP/SP3-1-Rendering
Implemented Shadow maps (still needs improvement)
2023-01-16 15:40:30 +08:00
Brandon Mak 09911cc50c Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2023-01-16 15:33:37 +08:00
maverickdgg cb93fab363 Merge branch 'main' into SP3-20-UI-System 2023-01-16 15:17:43 +08:00
maverickdgg fe39be0d61 Added asset browser tool tip that shows asset id 2023-01-16 15:17:06 +08:00
Brandon Mak 1526176c58 Shadows WIP 2023-01-16 15:06:46 +08:00
XiaoQiDigipen dfb8500c9b
Merge pull request #311 from SHADE-DP/SP3-20-UI-System
Added Changing of textures for buttons. Change button events to be on release
2023-01-16 15:01:51 +08:00
maverickdgg cdb5102630 Added a 0 check for button textures. 2023-01-16 14:51:06 +08:00
maverickdgg 1e351366af fix clicked texture to take priority over hovered texture 2023-01-16 14:44:20 +08:00
Kah Wei b5c9392baf Merge branch 'main' into SP3-1-DebugDraw 2023-01-16 14:39:53 +08:00
Kah Wei b603044579 Fixed validation errors caused by debug draw and fixed SHDebugDraw::WireCapsule not being static 2023-01-16 14:39:35 +08:00
maverickdgg a41354f2ce Added changing texture of buttons 2023-01-16 14:35:16 +08:00
maverickdgg 0c7224b8be Merge branch 'main' into UI-Test 2023-01-16 11:37:38 +08:00
maverickdgg 5190c490c9 added events 2023-01-16 11:36:12 +08:00
maverickdgg 5aa7bfe03e button fixed 2023-01-16 07:34:44 +08:00
Brandon Mak f217562fef Shadows are sort of working 2023-01-11 20:04:53 +08:00
Brandon Mak 4cd9a6cea0 shadows WIP 2023-01-11 10:35:29 +08:00
Brandon Mak 4a06032bea Shadows WIP 2023-01-11 08:25:38 +08:00
Brandon Mak 9538636af6 Shadows WIP 2023-01-10 01:47:10 +08:00
XiaoQiDigipen 8e58d47115
Merge pull request #306 from SHADE-DP/SP3-10-input-management
Changed default pathing for binding file serialisation
2023-01-09 17:44:14 +08:00
mushgunAX 356ec24cc2 Change default pathing for binding file I/O 2023-01-09 17:21:24 +08:00
XiaoQiDigipen be337a2687
Merge pull request #305 from SHADE-DP/SP3-5-ECS
Added GetComponents to Component Manager
2023-01-09 16:59:45 +08:00
Brandon Mak cb9223db0b Enabled partially bound bit for descriptor sets with variable size
- Shadow maps can be sampled from compute shaders
2023-01-09 11:06:10 +08:00
maverickdgg 4f63558f40 Added GetComponents to Component Manager 2023-01-09 10:44:36 +08:00
maverickdgg 88491ffbd8 ToggleButton fix 2023-01-09 09:56:46 +08:00
Brandon Mak 4928ed4bcf Will update commit message tomorrow. Fuck Vulkan. *KW in BG: DiReCtX*
- Changed RenderGraphNodeNames to RenderGraphEntityNames
- Managed to get shadow maps into desc sets
2023-01-09 09:44:40 +08:00
maverickdgg e89b6f5c4c Fixing button 2023-01-09 09:38:53 +08:00
maverickdgg 5f11a931c7 Added Toggle Button, Fixed canvas Scalar 2023-01-09 09:24:20 +08:00
maverickdgg b293b28a56 Button fix 2023-01-09 07:14:40 +08:00
mushgunAX 7dbd0b93b3 Minor comment fix 2023-01-08 21:39:48 +08:00
mushgunAX 4123e76a7d Checking Input Binding I/O 2023-01-08 21:36:19 +08:00
mushgunAX 92a7555370 Merge branch 'main' into SP3-10-input-management 2023-01-08 21:05:18 +08:00
mushgunAX baaeb9ee10 Input Binding File I/O 2023-01-08 21:05:09 +08:00
Kah Wei 686e141efa Fixed comment for SHPrimitiveGenerator::LineCapsuleCap 2023-01-08 01:46:52 +08:00
Kah Wei f44e7b7a1c Debug draw capsule now works with different orientations 2023-01-08 01:43:40 +08:00
Kah Wei 5c5ff38b49 Merge branch 'main' into SP3-1-DebugDraw 2023-01-08 01:07:15 +08:00
Kah Wei 98bfbc1048 Added DrawWireCapsule for debug draw (doesn't support orientation changes yet) 2023-01-08 01:06:50 +08:00
Brandon Mak 77a5829fc9 Shadows WIP 2023-01-07 17:45:49 +08:00
Diren D Bharwani c3582cf5ee Added a rotate method with quaternions for Vector3 2023-01-07 16:14:55 +08:00
Brandon Mak 8bb406e17f Shadows WIP
- new subpass generated for shadow maps now use light's renderer
- Added support to pass in custom binding and location for vertex attributes
- SHLightingSubSystem GetViewMatrix uses SHMatrix::LookAtLH but with hard-coded values for now. This will eventually be replaced with real position and target values
- Created new shadow map rendering vertex input state.
2023-01-07 15:27:08 +08:00
Brandon Mak 3e01c9e80a shadows WIP 2023-01-07 12:01:09 +08:00
Brandon Mak d3cd36984d Shadow map WIP 2023-01-07 07:42:42 +08:00
Brandon Mak 19f9b67550 Shadow map WIP
- Added companion subpass object to subpass
- Lighting sub system updates a light's renderer when it is a valid handle
- Light component's renderer will be created in the graphics system event when a light's shadow is enabled
2023-01-06 10:40:19 +08:00
Brandon Mak db87bea002 Added pre compute functions for render graph node compute 2023-01-04 09:58:29 +08:00
Brandon Mak 87b2103f6e Shadows WIP 2023-01-03 22:05:36 +08:00
Sri Sham Haran 562c9e2064 Merge branch 'main' into SP3-4-Editor 2023-01-03 20:29:09 +08:00
Brandon Mak b771cdbfc6 Added barrier for shadow maps 2023-01-03 07:41:37 +08:00
Brandon Mak ef8867a7a5 Shadows WIP 2023-01-02 22:16:35 +08:00
Brandon Mak 7f8dc2b647 Added constants for render graph node names
- Fleshed out event function to add resource and subpass to shadow map render graph node when shadow is turned on
- Added support for linking resources and subpasses to render graph at runtime
2023-01-02 18:24:29 +08:00
Brandon Mak 03becd8e47 Removing resources now remove subpasses and computes involved
- Added an empty node in the render graph for shadow mapping
2023-01-01 13:59:10 +08:00
XiaoQiDigipen a6a0e1588b
Merge pull request #299 from SHADE-DP/SP3-6-c-scripting
Added scripting quality of life features
2023-01-01 12:37:09 +08:00