SHADE_Y3/Assets
Brandon Mak 8e2c32d110 Graphics refactor more or less tested and working
- Descriptors sets are now independent from a set index. Camera matrices for example can be bound to set index 1 for the batching system but index 2 for compute shaders.
- Truly global descriptors sets (misc data, textures and light data) are now manually bound to a global static class that allows retrieval of these sets to be bound whenever in the middle end. 
- Predefined descriptor set layouts (but not truly global such as camera data, materials and font) have their layouts predefined in a class and used for descriptor set initialization within the middle end. The sets themselves are allocated using these layouts (also accessible globally). 
- Descriptor sets that are more flexible with their bindings such as render graph resources are introspected from shaders and not predefined at all (though their types are recorded in SHGraphicsPredefinedData to avoid magic numbers when binding descriptor sets in some systems).
- Systems now have fixed mappings for descriptors used in shaders and these are defined in SHGraphicsPredefinedData. Batching for example has 3 fixed descriptors: Static global bound at 0, camera data bound at 1, materials bound at 2.
- Viewports no longer contain renderers and renderers no longer contain render graphs. The graphics system only has 1 render graph and subpasses can have both viewports and renderers bound to them to have options for viewport/scissor and camera settings. 
- Light data is now bound before every compute system.
- There is only 1 render graph in the entire system and contains only 6 nodes: G-Buffer pass (with lighting compute pass), debug draw with depth, debug draw, screen space pass, dummy pass for transition to input attachment for imGui and lastly the imGui pass for rendering editor to swapchain.
2022-12-29 14:29:25 +08:00
..
Audio added more audio and tidy up folder 2022-11-26 08:28:37 +08:00
Editor Material Inspector 2022-11-02 21:31:27 +08:00
Fonts Added functionality for graphics system to render to swapchain image 2022-11-22 10:10:26 +08:00
Materials added item model and setting the main game scene 2022-11-23 13:44:03 +08:00
Models added breakables to the main game and fix issues with it 2022-11-25 14:45:19 +08:00
Scenes Graphics refactor more or less tested and working 2022-12-29 14:29:25 +08:00
Scripts added more audio and tidy up folder 2022-11-26 08:28:37 +08:00
Shaders WIP 2022-12-28 20:47:20 +08:00
Texture added item model and setting the main game scene 2022-11-23 13:44:03 +08:00
Application.SHConfig fix throw food bug 2022-11-25 16:23:26 +08:00
CollisionTags.SHConfig Bug fixes 2022-11-22 11:32:19 +08:00