- Fixed material padding
- Lighting desc sets now have a buffer at binding 0 to store light counts.
- Added position, normals, albedo resources in render graph
- Added pure copy compute shader (used instead of kirsch)
- Created sparse set for lights
- Note that while the instanced attribute contains both EID and layer light index and in the future potentially more, the objects still write to a uint framebuffer.
- Light layer index is in a different frame buffer than the eid one.
- Updated shaders to accommodate light layer index.
- Changed the eid buffer for instanced rendering to a vec2 (potentially vec3 or 4), to pass other types of data like light layer index.
- Renamed some render graph nodes and subpasses. Added a dummy render pass to transition the scene to read only optimal.
- offscreen buffer resource now transitions to eShaderReadOnlyOptimal instead of eGeneral
SP3-16 Updated SHADE Managed Math & Transform
NEW
Quaternions in SHADE Managed
UPDATES
All Math in managed are using floats instead of doubles
Managed Transform Components store Rotations as Quaternions. Euler angles are stored separately.
SP3-16 Quaternions
NEW
Added implementations for Quaternion LookRotation, FromToRotation, Slerp, Lerp and RotateTowards
Transform now stores orientations instead of euler angle rotations. Transform Component interface unchanged.
Added Orientation getters and setters to Transform Component.
Restructured Asset Manager with Generalised Template Types for Asset Data
All asset types are derived from asset type for casting and storing to facilitate general GetData function
Added customization for compute shader post processing after renderpass end
Added customization for compute shader post processing after renderpass end
Added Input attachment descriptor set support (incomplete, still need to bind and handle resizing)
Command buffers now take in a pipeline type to specify bind point. They also now store bind point specific data such as pipeline layout
More descriptor type support
Fixed a bug in batches where the frame index was not correct
Fixed a bug in pipeline layout where the descriptor set layout order was wrong
Render Graph now has 1 extra function at the start of generate where it checks render graph nodes for node computes. If they exist, add another subpass to transition all images involved.
Kirsch node compute for testing is in Graphics System.
Added function in SHVkUtil to convert pipeline type to pipeline bind point