Commit Graph

1061 Commits

Author SHA1 Message Date
51b8bcbc78 KRCollider is now using KRMeshBinding 2025-11-11 23:20:00 -08:00
82019987e6 Implemented KRMeshBinding, mesh lod functionality is now explicit in KRScene format and api 2025-11-11 23:07:04 -08:00
8c8aa1893c Implemented KRAudioSampleBinding, applied to KRAudioSource 2025-11-11 15:18:19 -08:00
1a602d30b1 KRMaterial now using KRTextureBinding 2025-11-11 14:54:42 -08:00
d2e116cce9 KRModel now using KRTextureBinding 2025-11-11 14:37:31 -08:00
64b89426bc KRCamera now using KRTextureBinding 2025-11-11 14:29:26 -08:00
d8eb663731 KRLight now using KRTextureBinding 2025-11-11 14:21:34 -08:00
dbb6e98307 Implemented KRResourceBinding and KRTextureBinding, apply to KRSprite 2025-11-11 14:13:17 -08:00
7cb09d8f89 Replaced setPushConstant call in KRCamera with reflection 2025-11-11 13:05:23 -08:00
53f2a85136 Replacing more setPushConstant calls with generalized reflection 2025-09-01 23:12:11 -07:00
b5b3aa028e WIP Implementing Reflection for lighting and particle systems 2025-08-31 16:17:21 -07:00
453d8d8f68 Removed bRimColor from PipelineInfo
Rim highlighting parameters now accessed through KRMesh reflection
Removed ambient_intensity and light_intensity from KRRenderSettings.  To be replaced with proper tone mapping.
2025-08-31 15:22:55 -07:00
f48d99d2c2 Update glslang
Fix code paths in getShaderValue implementations that did not return a value
2025-08-31 14:51:45 -07:00
1bd16c05c0 Updated Spirv-Reflect 2025-08-31 14:27:52 -07:00
993ce744b2 Updated VMA and VOLK 2025-08-31 14:25:27 -07:00
2c79c4ac6e Update Vulkan 2025-08-31 14:21:14 -07:00
e44a6875eb Bump Copyright year 2025-08-31 14:11:20 -07:00
37b266dc11 WIP adding shader reflection to KRMaterial.
KRNode::RenderInfo now maintains a stack of reflected objects.
WIP adding shader reflection to KRNode.
2025-08-31 01:45:34 -07:00
6ccbecda3c Fix build failure / type-o in KRRenderSettings 2025-08-31 00:56:56 -07:00
ec37ec99bd KRRenderSettings is now feeding push constants using reflection. 2025-08-31 00:54:05 -07:00
51534da431 Shader reflection now using ShaderValueType 2025-08-31 00:30:15 -07:00
97da7eaa94 Added ShaderValueType enum to shader reflection 2025-08-30 17:19:00 -07:00
7ea376574c Moved push constant bindings to reflection interface for viewports 2025-08-30 16:45:56 -07:00
eb3f88ff90 Added first push buffer binding using reflection 2025-08-30 16:07:14 -07:00
a917f70f62 WIP Shader Reflection Refactoring 2025-08-23 15:46:36 -07:00
6739e9c1a5 WIP Refactoring to generalize shader value reflection 2025-08-23 15:20:39 -07:00
9df960d181 Move push constant related code from KRPipelnie::bind to its own function, KRPipeline::updatePushConstants 2025-08-23 14:36:52 -07:00
2fc46ece57 Eliminate redundant vkCmdBindPipeline calls 2025-07-09 00:23:17 -07:00
9db005c55c Moved some material attributes to push constants
WIP updates to hello_cube smoke test; now rendering grid of cubes
2025-05-16 01:44:19 -07:00
6a136cf0ee Added normals to builtin cube model 2025-05-16 01:42:49 -07:00
802da21deb Fixed push constant reflection binding to match block name in shaders 2025-04-23 23:17:03 -07:00
2dcf7f987d Rotate camera towards cube in smoke test 2025-04-23 22:49:32 -07:00
8500ca8bea Fix indexed strip mesh support 2025-04-23 22:49:10 -07:00
8d8cfd2532 Moved frame rendering from KRCamera to KRRenderGraph 2025-04-10 01:09:36 -07:00
5f286e185e WIP Refactoring to move frame rendering from KRCamera to KRRenderGraph 2025-04-10 00:35:39 -07:00
7dc8a1304e Move Vulkan Test code from KRCamera to KRScene in preparation for upcoming scene graph refactor 2025-04-09 23:31:01 -07:00
ddfe080078 Added GPU debug markers for render passes 2025-04-09 23:03:16 -07:00
698f890500 Add GPU debug labels for render passes 2025-04-09 22:48:38 -07:00
4ccdaea970 Added KRRenderGraphDeferred and KRRenderGraphForward 2025-04-09 00:12:18 -07:00
51d6038187 Implement KRRenderGraph::getFinalRenderPass() 2025-04-08 23:45:12 -07:00
3928e247eb Added default __white material to standard assets bundle.
Assigned default __white material to all standard asset meshes.
Enabled models to be loaded prior to their referenced materials.
Refactored ObjectShader glsl for Vulkan use.
2024-09-22 19:20:45 -07:00
0a66f11ff0 Implemented API for model node creation.
hello_cube smoke test now adds a model node and assigns the built-in cube model
2024-09-21 23:32:38 -07:00
3b9a5d6f81 Moved occlusion test expiry code from KRScene::render to a dedicated function, KRViewport::expireOcclusionResults 2024-09-21 21:21:48 -07:00
8bee10c768 Refactoring to reduce parameter count for KRPipeline::bind, passing by RenderInfo 2024-09-21 17:16:13 -07:00
d7672d31f4 Refactoring to reduce KRScene::Render parameter count, passing by RenderInfo structure instead. 2024-09-21 16:46:04 -07:00
95969839ec Update volk to vulkan-sdk-1.3.290.0 2024-09-14 15:43:41 -07:00
4bf0cbb2ca Update Vulkan Memory Allocator to v3.1.0 2024-09-14 15:39:23 -07:00
cc4813136b Update spirv-reflect to vulkan-sdk-1.3.290.0 2024-09-14 15:34:13 -07:00
fa14da813b Update Vulkan to v1.3.295 2024-09-14 15:18:21 -07:00
e19be4c2a4 test_shutdown now always returns a value. 2024-09-14 14:17:35 -07:00