a7506c556c
Fix KRTexturePNG::getExtension, which was returning tga rather than png.
Kearwood Gilbert2026-03-31 22:06:18 -07:00
b73290ffd6
Fixed bug in mipmap streaming code. Debug font rendering is now working again.
Kearwood Gilbert2026-03-23 23:06:50 -07:00
9d5d269feb
Fixes for mipmap streaming system. Added KRNode::alwaysStreamResources() KRCamera now set to always stream its resources, so that the debug font texture and textures used for post-processing will always be loaded.
Kearwood Gilbert2026-03-23 22:45:51 -07:00
b205fe2e0d
KRTexture::getMemRequiredForLod and KRTexture::getLodData now interpret the passed lod level as a single mip rather than the mip chain starting at the passed lod level. Added KRTexture::getMemRequiredForLodRange
Kearwood Gilbert2026-03-19 00:54:36 -07:00
d652d747a2
Changed mip-map handling to use mip/lod levels rather than maximum dimensions of the lod.
Kearwood Gilbert2026-03-17 00:03:12 -07:00
d1299ccc13
KRTexture2D::getDimensions has been extended to a Vector3i and promoted to KRTexture::getDimensions
Kearwood Gilbert2026-03-16 00:57:40 -07:00
780d06883a
Refactoring KRTexture2D::uploadTexture, replacing with getLodData.
Kearwood Gilbert2026-03-16 00:28:54 -07:00
19020e3c01
Remove octree-level fragment query occlusion culling. This will be replaced with a method involving hi-z buffers and mesh shaders.
Kearwood Gilbert2025-11-30 15:47:27 -08:00
b6179a2496
Split KRScene::render into KRScene::render and KRScene::render_occlusionResultsPass
Kearwood Gilbert2025-11-30 14:41:13 -08:00
a4c8b77f3a
Fixed crash on initialization of KRResourceBinding encapsulated in KRNodeProperty by changing default value to an empty string rather than nullptr. Implemented KRNODE_PROPERTY_ARRAY. KRModel meshes are now using KRNODE_PROPERTY_ARRAY
Kearwood Gilbert2025-11-24 21:14:24 -08:00
ae9469dd62
WIP update KRModel to use KRNodeProperty. Move XML loading from KRNode to KRModel::loadXML
Kearwood Gilbert2025-11-24 20:17:21 -08:00
c075148ead
Add hydra::AABB support to KRNodeProperty. KRLODGroup now using KRNodeProperty.
Kearwood Gilbert2025-11-24 19:31:26 -08:00
a7cd068e39
KRLight node info is now initialized using KRNodeProperty default values
Kearwood Gilbert2025-11-24 19:10:08 -08:00
36fd88d6ee
Add unsigned integer support to KRNodeProperty. KRCollider now using KRNodeProperty.
Kearwood Gilbert2025-11-24 19:06:13 -08:00
92843b93d2
Implemented bool support for KRNodeProperty. Applied KRNodeProperty to bool and float properties of KRLight
Kearwood Gilbert2025-11-17 22:56:29 -08:00
ead7aade63
Implement KRNodeProperty to reduce boilerplate needed for adding new node attributes
Kearwood Gilbert2025-11-17 22:03:45 -08:00
9b20d1ef1d
Implemented getResourceBindings methods to recursively collect resource bindings from nodes and resource-to-resource connections. Replaced many KRNode::preStream() overrides with a generic handler in KRNode::preStream() that walks the resource binding tree.
Kearwood Gilbert2025-11-17 19:40:51 -08:00
b146886691
Streamlined resource handling in Pre-Stream with KRResourceBinding::submitRequest
Kearwood Gilbert2025-11-17 00:55:50 -08:00
61cc889880
KRMesh cleanup, now including lod coverage in resource requests for meshes
Kearwood Gilbert2025-11-17 00:05:48 -08:00
5217ab8018
Removed redundant requestResidency call for m_lightMap in KRModel
Kearwood Gilbert2025-11-16 23:45:04 -08:00
dbb6e98307
Implemented KRResourceBinding and KRTextureBinding, apply to KRSprite
Kearwood Gilbert2025-11-11 14:13:17 -08:00
7cb09d8f89
Replaced setPushConstant call in KRCamera with reflection
Kearwood Gilbert2025-11-11 13:05:23 -08:00
53f2a85136
Replacing more setPushConstant calls with generalized reflection
Kearwood Gilbert2025-09-01 23:12:11 -07:00
b5b3aa028e
WIP Implementing Reflection for lighting and particle systems
Kearwood Gilbert2025-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.
Kearwood Gilbert2025-08-31 15:22:55 -07:00
f48d99d2c2
Update glslang Fix code paths in getShaderValue implementations that did not return a value
Kearwood Gilbert2025-08-31 14:51:45 -07:00
37b266dc11
WIP adding shader reflection to KRMaterial. KRNode::RenderInfo now maintains a stack of reflected objects. WIP adding shader reflection to KRNode.
Kearwood Gilbert2025-08-31 01:45:34 -07:00
6739e9c1a5
WIP Refactoring to generalize shader value reflection
Kearwood Gilbert2025-08-23 14:59:08 -07:00
9df960d181
Move push constant related code from KRPipelnie::bind to its own function, KRPipeline::updatePushConstants
Kearwood Gilbert2025-08-23 14:36:52 -07:00
9db005c55c
Moved some material attributes to push constants WIP updates to hello_cube smoke test; now rendering grid of cubes
Kearwood Gilbert2025-05-16 01:44:19 -07:00