[{"data":1,"prerenderedAt":2103},["ShallowReactive",2],{"portfolio-detail-maikengine":3},{"id":4,"title":5,"body":6,"dateEnd":2081,"dateStart":2082,"description":2083,"extension":2084,"image":2085,"meta":2086,"navigation":843,"path":2087,"repository":2088,"seo":2089,"stem":2090,"tags":2091,"type":2101,"__hash__":2102},"content\u002Fportfolio\u002Fmaikengine.md","MaikEngine",{"type":7,"value":8,"toc":2056},"minimark",[9,14,29,61,65,72,76,81,156,160,256,260,301,305,340,344,364,368,375,379,445,449,579,583,663,667,740,744,1648,1652,1660,1664,1841,1845,1849,1916,1920,1985,1989,2052],[10,11,13],"h2",{"id":12},"overview","Overview",[15,16,17,20,21,24,25,28],"p",{},[18,19,5],"strong",{}," is a low-level 3D rendering and simulation engine written from scratch in ",[18,22,23],{},"C++20"," using the ",[18,26,27],{},"Vulkan 1.3"," graphics API. Built to explore modern graphics programming without legacy abstractions, the engine prioritizes explicit GPU control, cache-friendly data structures, and production-grade rendering paradigms aimed at indie video game development.",[15,30,31,32,35,36,40,41,44,45,48,49,52,53,56,57,60],{},"Unlike traditional engines anchored to OpenGL or older Vulkan 1.0 patterns, MaikEngine is designed around modern Vulkan 1.3 standards—leveraging ",[18,33,34],{},"Dynamic Rendering"," (",[37,38,39],"code",{},"VK_KHR_dynamic_rendering",") to completely eliminate legacy ",[37,42,43],{},"VkRenderPass"," and ",[37,46,47],{},"VkFramebuffer"," boilerplate, ",[18,50,51],{},"Vulkan Memory Allocator (VMA)"," for GPU memory pooling, and ",[18,54,55],{},"glTF 2.0"," streaming with ",[18,58,59],{},"KTX2 \u002F Basis Universal"," hardware texture compression.",[10,62,64],{"id":63},"video-demonstration","Video Demonstration",[15,66,67],{},[68,69],"img",{"alt":70,"src":71},"Demonstration of MaikEngine's capabilities at Phase 0","https:\u002F\u002Fyoutu.be\u002F-biy5-Q-oJk",[10,73,75],{"id":74},"architecture-core-features","Architecture & Core Features",[77,78,80],"h3",{"id":79},"_1-modern-vulkan-13-dynamic-rendering-pipeline","1. Modern Vulkan 1.3 Dynamic Rendering Pipeline",[82,83,84,107,147],"ul",{},[85,86,87,93,94,44,96,98,99,102,103,106],"li",{},[18,88,89,90,92],{},"Dynamic Rendering (",[37,91,39],{},")",": Eliminates rigid ",[37,95,43],{},[37,97,47],{}," state objects. Passes declare color, depth, and stencil attachments on-the-fly via ",[37,100,101],{},"vkCmdBeginRendering"," \u002F ",[37,104,105],{},"vkCmdEndRendering",".",[85,108,109,112,113],{},[18,110,111],{},"Multi-Pass Frame Orchestration",":\n",[114,115,116,126,135,141],"ol",{},[85,117,118,121,122,125],{},[18,119,120],{},"Pass 0 — Directional Shadow Mapping",": Renders scene geometry to a dedicated 2048x2048 ",[37,123,124],{},"D32_SFLOAT"," depth target from sunlight view-projection.",[85,127,128,131,132,134],{},[18,129,130],{},"Pass 1 — Depth Pre-Pass",": Populates the primary depth buffer (",[37,133,124],{},") using specialized opaque and alpha-tested pipelines, setting up the GPU for optimal Early-Z rejection.",[85,136,137,140],{},[18,138,139],{},"Pass 2 — PBR Shading & Alpha Cutout",": Renders geometry with Cook-Torrance BRDF specular shading, sampling shadow maps and material textures.",[85,142,143,146],{},[18,144,145],{},"Pass 3 — Debug Overlay (ImGui)",": Renders immediate-mode UI controls directly into the active swapchain attachment.",[85,148,149,155],{},[18,150,151,152,92],{},"Double-Buffered Frame Ring (",[37,153,154],{},"FRAME_OVERLAP = 2",": Overlaps CPU command recording with GPU rendering using per-frame command pools, semaphores, and fences.",[77,157,159],{"id":158},"_2-physically-based-shading-pbr","2. Physically-Based Shading (PBR)",[82,161,162,230,236,250],{},[85,163,164,167,168,194,195,211,212,229],{},[18,165,166],{},"Cook-Torrance Microfacet BRDF",": Evaluates specular reflection using GGX\u002FTrowbridge-Reitz normal distribution (",[169,170,173],"span",{"className":171},[172],"katex",[169,174,178],{"className":175,"ariaHidden":177},[176],"katex-html","true",[169,179,182,187],{"className":180},[181],"base",[169,183],{"className":184,"style":186},[185],"strut","height:0.6833em;",[169,188,193],{"className":189,"style":192},[190,191],"mord","mathnormal","margin-right:0.0278em;","D","), Smith geometric shadowing (",[169,196,198],{"className":197},[172],[169,199,201],{"className":200,"ariaHidden":177},[176],[169,202,204,207],{"className":203},[181],[169,205],{"className":206,"style":186},[185],[169,208,210],{"className":209},[190,191],"G","), and Schlick Fresnel approximation (",[169,213,215],{"className":214},[172],[169,216,218],{"className":217,"ariaHidden":177},[176],[169,219,221,224],{"className":220},[181],[169,222],{"className":223,"style":186},[185],[169,225,228],{"className":226,"style":227},[190,191],"margin-right:0.1389em;","F",").",[85,231,232,235],{},[18,233,234],{},"Metallic-Roughness Workflow",": Extracts packed metalness (blue channel) and perceptual roughness (green channel) maps modulated by material factors.",[85,237,238,241,242,245,246,249],{},[18,239,240],{},"Alpha Cutout Pipelines",": Dedicated shader variants and pipeline states (",[37,243,244],{},"standard_alpha.frag",", ",[37,247,248],{},"depth_alpha.frag",") utilizing alpha testing thresholds to handle complex vegetation and foliage geometry without sorting artifacts.",[85,251,252,255],{},[18,253,254],{},"Percentage-Closer Filtered (PCF) Shadows",": 3x3 kernel PCF sampling with texel bias correction for soft directional sunlight shadows.",[77,257,259],{"id":258},"_3-resource-memory-management","3. Resource & Memory Management",[82,261,262,267],{},[85,263,264,266],{},[18,265,51],{},": Suballocates staging buffers, geometry buffers, and image memory from driver memory pools, preventing GPU memory exhaustion.",[85,268,269,112,272],{},[18,270,271],{},"Descriptor Management",[82,273,274,280,290],{},[85,275,276,279],{},[37,277,278],{},"DescriptorAllocator",": Dynamically manages pools with automatic exhaustion handling and growth.",[85,281,282,285,286,289],{},[37,283,284],{},"DescriptorLayoutCache",": Hashes ",[37,287,288],{},"VkDescriptorSetLayoutCreateInfo"," configurations to deduplicate descriptor set layouts across pipelines.",[85,291,292,293,296,297,300],{},"Clean two-tier descriptor architecture: ",[18,294,295],{},"Set 0"," for global frame\u002Fcamera\u002Fshadow data; ",[18,298,299],{},"Set 1"," for per-material textures (Albedo, Metallic-Roughness, Normal).",[77,302,304],{"id":303},"_4-high-performance-gltf-20-asset-streaming","4. High-Performance glTF 2.0 & Asset Streaming",[82,306,307,316,330],{},[85,308,309,315],{},[18,310,311,312,92],{},"High-Speed glTF Parsing (",[37,313,314],{},"fastgltf",": SIMD-accelerated glTF 2.0 decoding supporting external and embedded buffers\u002Fimages.",[85,317,318,325,326,329],{},[18,319,320,321,324],{},"Hardware Compressed Textures (",[37,322,323],{},"libktx"," \u002F KTX2)",": Detects and transcodes Basis Universal textures directly into hardware-native ",[37,327,328],{},"BC7_RGBA"," format on the fly, dramatically slashing VRAM footprint and memory bandwidth.",[85,331,332,335,336,339],{},[18,333,334],{},"GPU Mipmap Generation",": Generates full mipmap pyramids at load time using asynchronous ",[37,337,338],{},"vkCmdBlitImage"," transfer barriers with linear downsampling.",[77,341,343],{"id":342},"_5-spatial-visibility-camera-systems","5. Spatial Visibility & Camera Systems",[82,345,346,352,358],{},[85,347,348,351],{},[18,349,350],{},"Gribb-Hartmann Frustum Culling",": Extracts 6 normalized frustum planes directly from the active camera view-projection matrix.",[85,353,354,357],{},[18,355,356],{},"AABB Bounding Box Tests",": Transforms local submesh bounding volumes by world-space model matrices on the CPU to cull off-screen geometry before dispatching draw calls.",[85,359,360,363],{},[18,361,362],{},"Camera System",": Free-flight 6DOF camera with smooth Euler angle yaw\u002Fpitch clamping, perspective projection, and variable movement speed.",[10,365,367],{"id":366},"challenges-solved","Challenges Solved",[15,369,370,371,374],{},"Drawing from the engine's development log and commit history on branch ",[37,372,373],{},"develop",", several non-trivial engineering challenges were addressed:",[77,376,378],{"id":377},"challenge-1-swapchain-resizing-alt-tab-minimization-tiling-window-managers","Challenge 1: Swapchain Resizing, Alt-Tab Minimization & Tiling Window Managers",[82,380,381,403],{},[85,382,383,386,387,390,391,394,395,398,399,402],{},[18,384,385],{},"The Problem",": On tiling window managers (e.g. Hyprland on Linux) and during rapid window resizing or Alt-Tab minimize\u002Frestore cycles, Vulkan drivers throw ",[37,388,389],{},"VK_ERROR_OUT_OF_DATE_KHR"," or ",[37,392,393],{},"VK_SUBOPTIMAL_KHR",". Handling this naively caused synchronization deadlocks (",[37,396,397],{},"vkWaitForFences"," timeouts), framebuffer recreation crashes when extents dropped to ",[37,400,401],{},"(0, 0)",", and semaphore count mismatches.",[85,404,405,112,408],{},[18,406,407],{},"The Solution",[82,409,410,424,427,434],{},[85,411,412,413,416,417,420,421,106],{},"Refactored ",[37,414,415],{},"Renderer::recreate_swapchain()"," to retire the old swapchain using ",[37,418,419],{},".set_old_swapchain(old_swapchain)"," inside ",[37,422,423],{},"vkb::SwapchainBuilder",[85,425,426],{},"Added strict extent guards skipping presentation and recreation when the window is minimized.",[85,428,429,430,433],{},"Re-synchronized the depth buffer and per-swapchain-image ",[37,431,432],{},"_renderSemaphores"," array dynamically.",[85,435,436,437,440,441,444],{},"Integrated runtime V-Sync toggling switching between ",[37,438,439],{},"VK_PRESENT_MODE_FIFO_KHR"," (locked V-Sync) and ",[37,442,443],{},"VK_PRESENT_MODE_MAILBOX_KHR"," (low-latency triple buffering) without restart.",[77,446,448],{"id":447},"challenge-2-gltf-trs-hierarchy-multi-primitive-geometry","Challenge 2: glTF TRS Hierarchy & Multi-Primitive Geometry",[82,450,451,504],{},[85,452,453,112,455],{},[18,454,385],{},[82,456,457,501],{},[85,458,459,460,500],{},"glTF assets decompose models into hierarchies of nodes where transforms can be defined either as explicit ",[169,461,463],{"className":462},[172],[169,464,466,490],{"className":465,"ariaHidden":177},[176],[169,467,469,473,477,482,487],{"className":468},[181],[169,470],{"className":471,"style":472},[185],"height:0.7278em;vertical-align:-0.0833em;",[169,474,476],{"className":475},[190],"4",[169,478],{"className":479,"style":481},[480],"mspace","margin-right:0.2222em;",[169,483,486],{"className":484},[485],"mbin","×",[169,488],{"className":489,"style":481},[480],[169,491,493,497],{"className":492},[181],[169,494],{"className":495,"style":496},[185],"height:0.6444em;",[169,498,476],{"className":499},[190]," matrices or decomposed Translation-Rotation-Scale (TRS) properties with unit quaternions.",[85,502,503],{},"Early implementations produced disjointed geometry because quaternion rotations and node hierarchies were not properly transformed into column-major GLM matrix math.",[85,505,506,508,509,512,513,516,517,574,575,578],{},[18,507,407],{},": Implemented a unified ",[37,510,511],{},"std::visit"," visitor pattern across ",[37,514,515],{},"fastgltf::TRS"," components, computing composite transform matrices (",[169,518,520],{"className":519},[172],[169,521,523,543,563],{"className":522,"ariaHidden":177},[176],[169,524,526,530,534,537,540],{"className":525},[181],[169,527],{"className":528,"style":529},[185],"height:0.7667em;vertical-align:-0.0833em;",[169,531,533],{"className":532,"style":227},[190,191],"T",[169,535],{"className":536,"style":481},[480],[169,538,486],{"className":539},[485],[169,541],{"className":542,"style":481},[480],[169,544,546,549,554,557,560],{"className":545},[181],[169,547],{"className":548,"style":529},[185],[169,550,553],{"className":551,"style":552},[190,191],"margin-right:0.0077em;","R",[169,555],{"className":556,"style":481},[480],[169,558,486],{"className":559},[485],[169,561],{"className":562,"style":481},[480],[169,564,566,569],{"className":565},[181],[169,567],{"className":568,"style":186},[185],[169,570,573],{"className":571,"style":572},[190,191],"margin-right:0.0576em;","S",") with ",[37,576,577],{},"glm::mat4_cast(glm::quat)"," and binding primitives with local AABB bounding volumes.",[77,580,582],{"id":581},"challenge-3-compressed-texture-streaming-ktx2-bc7-mipmapping","Challenge 3: Compressed Texture Streaming (KTX2 \u002F BC7) & Mipmapping",[82,584,585,594],{},[85,586,587,112,589],{},[18,588,385],{},[82,590,591],{},[85,592,593],{},"Loading uncompressed 4K textures for large scenes like Sponza consumed excessive VRAM and caused severe texture aliasing\u002Fshimmering at distance.",[85,595,596,112,598],{},[18,597,407],{},[82,599,600,613],{},[85,601,602,603,605,606,102,609,612],{},"Integrated ",[37,604,323],{}," to stream KTX2 files and transcode Universal Basis textures directly to ",[37,607,608],{},"BC7_RGBA_SRGB",[37,610,611],{},"BC7_RGBA_UNORM"," in VRAM.",[85,614,615,616,618,619,622,623,622,641,622,644,622,659,662],{},"Built an in-engine GPU mipmap generator using ",[37,617,338],{}," with progressive layout transitions (",[37,620,621],{},"TRANSFER_DST_OPTIMAL"," ",[169,624,626],{"className":625},[172],[169,627,629],{"className":628,"ariaHidden":177},[176],[169,630,632,636],{"className":631},[181],[169,633],{"className":634,"style":635},[185],"height:0.3669em;",[169,637,640],{"className":638},[639],"mrel","→",[37,642,643],{},"TRANSFER_SRC_OPTIMAL",[169,645,647],{"className":646},[172],[169,648,650],{"className":649,"ariaHidden":177},[176],[169,651,653,656],{"className":652},[181],[169,654],{"className":655,"style":635},[185],[169,657,640],{"className":658},[639],[37,660,661],{},"SHADER_READ_ONLY_OPTIMAL",") across all mip levels.",[77,664,666],{"id":665},"challenge-4-multi-pipeline-depth-pre-pass-alpha-cutouts","Challenge 4: Multi-Pipeline Depth Pre-Pass & Alpha Cutouts",[82,668,669,678],{},[85,670,671,112,673],{},[18,672,385],{},[82,674,675],{},[85,676,677],{},"Foliage, banners, and chainlink fences in glTF scenes require alpha cutout masking, which traditionally either causes sorting issues with alpha blending or overdraw costs with PBR evaluation.",[85,679,680,112,682],{},[18,681,407],{},[82,683,684,737],{},[85,685,686,687,690,691,694,695,697,698,229],{},"Created a dual-pipeline strategy: ",[37,688,689],{},"opaqueDepthPipeline"," (no fragment shader, hardware depth only) and ",[37,692,693],{},"alphaDepthPipeline"," (executes ",[37,696,248],{}," discarding fragments where ",[169,699,701],{"className":700},[172],[169,702,704,727],{"className":703,"ariaHidden":177},[176],[169,705,707,711,716,720,724],{"className":706},[181],[169,708],{"className":709,"style":710},[185],"height:0.5782em;vertical-align:-0.0391em;",[169,712,715],{"className":713,"style":714},[190,191],"margin-right:0.0037em;","α",[169,717],{"className":718,"style":719},[480],"margin-right:0.2778em;",[169,721,723],{"className":722},[639],"\u003C",[169,725],{"className":726,"style":719},[480],[169,728,730,733],{"className":729},[181],[169,731],{"className":732,"style":496},[185],[169,734,736],{"className":735},[190],"0.5",[85,738,739],{},"Ran the depth pre-pass ahead of the PBR pass, enabling the main PBR shader to run with depth writes disabled and early-Z fragment rejection.",[10,741,743],{"id":742},"code-example-vulkan-13-dynamic-rendering-multi-pass-frame","Code Example: Vulkan 1.3 Dynamic Rendering & Multi-Pass Frame",[745,746,751],"pre",{"className":747,"code":748,"language":749,"meta":750,"style":750},"language-cpp shiki shiki-themes github-dark github-dark","\u002F\u002F VulkanEngine.cpp: Multi-pass frame execution using Vulkan 1.3 Dynamic Rendering\nvoid VulkanEngine::draw() {\n    BarrierData barrier_data = _renderer.begin_frame();\n    VkCommandBuffer cmd = barrier_data.cmd;\n    if (cmd == VK_NULL_HANDLE) return;\n\n    \u002F\u002F 1. Update Camera \u002F Light Uniform Buffer (Set 0)\n    GPUSceneData sceneData = compute_scene_matrices();\n    memcpy(currentFrame.cameraBuffer.info.pMappedData, &sceneData, sizeof(GPUSceneData));\n\n    \u002F\u002F 2. PASS 0: Directional Shadow Mapping (2048x2048 D32_SFLOAT)\n    VkRenderingAttachmentInfo shadowAttachment{\n        .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,\n        .imageView = _renderer.get_shadow_image_view(),\n        .imageLayout = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL,\n        .loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR,\n        .storeOp = VK_ATTACHMENT_STORE_OP_STORE,\n        .clearValue = { .depthStencil = { .depth = 1.0f } }\n    };\n    VkRenderingInfo shadowPassInfo{\n        .sType = VK_STRUCTURE_TYPE_RENDERING_INFO,\n        .renderArea = shadowScissor,\n        .layerCount = 1,\n        .pDepthAttachment = &shadowAttachment\n    };\n    vkCmdBeginRendering(cmd, &shadowPassInfo);\n    draw_geometry(cmd, visibleObjects, \u002F*is_depth=*\u002Ftrue, \u002F*is_shadow=*\u002Ftrue);\n    vkCmdEndRendering(cmd);\n\n    \u002F\u002F Transition Shadow Map for Shader Reading\n    transition_image_layout(cmd, _renderer.get_shadow_image(), \n        VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);\n\n    \u002F\u002F 3. PASS 1: Depth Pre-Pass (Early-Z Population)\n    VkRenderingAttachmentInfo depthAttachment{\n        .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,\n        .imageView = _renderer.get_depth_image_view(),\n        .imageLayout = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL,\n        .loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR,\n        .storeOp = VK_ATTACHMENT_STORE_OP_STORE,\n        .clearValue = { .depthStencil = { .depth = 1.0f } }\n    };\n    VkRenderingInfo depthPassInfo{\n        .sType = VK_STRUCTURE_TYPE_RENDERING_INFO,\n        .renderArea = barrier_data.scissor,\n        .layerCount = 1,\n        .pDepthAttachment = &depthAttachment\n    };\n    vkCmdBeginRendering(cmd, &depthPassInfo);\n    draw_geometry(cmd, visibleObjects, \u002F*is_depth=*\u002Ftrue, \u002F*is_shadow=*\u002Ffalse);\n    vkCmdEndRendering(cmd);\n\n    \u002F\u002F 4. PASS 2: PBR Forward Pass (Depth Tested, Color Output)\n    depthAttachment.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; \u002F\u002F Reuse depth pre-pass\n    VkRenderingAttachmentInfo colorAttachment{\n        .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,\n        .imageView = _renderer.get_swapchain_image_view(),\n        .imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,\n        .loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR,\n        .storeOp = VK_ATTACHMENT_STORE_OP_STORE,\n        .clearValue = { .color = { 0.1f, 0.2f, 0.4f, 1.0f } }\n    };\n    VkRenderingInfo pbrPassInfo{\n        .sType = VK_STRUCTURE_TYPE_RENDERING_INFO,\n        .renderArea = barrier_data.scissor,\n        .layerCount = 1,\n        .colorAttachmentCount = 1,\n        .pColorAttachments = &colorAttachment,\n        .pDepthAttachment = &depthAttachment\n    };\n    vkCmdBeginRendering(cmd, &pbrPassInfo);\n    draw_geometry(cmd, visibleObjects, \u002F*is_depth=*\u002Ffalse, \u002F*is_shadow=*\u002Ffalse);\n\n    \u002F\u002F 5. PASS 3: Dear ImGui Dynamic Rendering\n    _imguiManager.begin_frame();\n    render_debug_gui();\n    _imguiManager.end_frame(cmd);\n    vkCmdEndRendering(cmd);\n\n    \u002F\u002F Transition Swapchain to Present Layout and Submit\n    _renderer.end_frame();\n}\n","cpp","",[37,752,753,761,782,803,817,838,845,851,867,888,893,899,908,919,935,946,957,968,996,1002,1011,1021,1032,1046,1060,1065,1079,1104,1113,1118,1124,1139,1145,1150,1156,1164,1173,1187,1196,1205,1214,1235,1240,1248,1257,1267,1278,1290,1295,1307,1327,1334,1339,1345,1359,1367,1376,1390,1400,1409,1418,1461,1466,1474,1483,1492,1503,1515,1528,1539,1544,1556,1575,1580,1586,1596,1604,1614,1621,1626,1632,1642],{"__ignoreMap":750},[169,754,757],{"class":755,"line":756},"line",1,[169,758,760],{"class":759},"sJ8bj","\u002F\u002F VulkanEngine.cpp: Multi-pass frame execution using Vulkan 1.3 Dynamic Rendering\n",[169,762,764,768,772,776,779],{"class":755,"line":763},2,[169,765,767],{"class":766},"sOPea","void",[169,769,771],{"class":770},"sFR8T"," VulkanEngine",[169,773,775],{"class":774},"suv1-","::",[169,777,778],{"class":770},"draw",[169,780,781],{"class":774},"() {\n",[169,783,785,788,791,794,797,800],{"class":755,"line":784},3,[169,786,787],{"class":770},"    BarrierData",[169,789,790],{"class":774}," barrier_data ",[169,792,793],{"class":766},"=",[169,795,796],{"class":774}," _renderer.",[169,798,799],{"class":770},"begin_frame",[169,801,802],{"class":774},"();\n",[169,804,806,809,812,814],{"class":755,"line":805},4,[169,807,808],{"class":770},"    VkCommandBuffer",[169,810,811],{"class":774}," cmd ",[169,813,793],{"class":766},[169,815,816],{"class":774}," barrier_data.cmd;\n",[169,818,820,823,826,829,832,835],{"class":755,"line":819},5,[169,821,822],{"class":766},"    if",[169,824,825],{"class":774}," (cmd ",[169,827,828],{"class":766},"==",[169,830,831],{"class":774}," VK_NULL_HANDLE) ",[169,833,834],{"class":766},"return",[169,836,837],{"class":774},";\n",[169,839,841],{"class":755,"line":840},6,[169,842,844],{"emptyLinePlaceholder":843},true,"\n",[169,846,848],{"class":755,"line":847},7,[169,849,850],{"class":759},"    \u002F\u002F 1. Update Camera \u002F Light Uniform Buffer (Set 0)\n",[169,852,854,857,860,862,865],{"class":755,"line":853},8,[169,855,856],{"class":770},"    GPUSceneData",[169,858,859],{"class":774}," sceneData ",[169,861,793],{"class":766},[169,863,864],{"class":770}," compute_scene_matrices",[169,866,802],{"class":774},[169,868,870,873,876,879,882,885],{"class":755,"line":869},9,[169,871,872],{"class":770},"    memcpy",[169,874,875],{"class":774},"(currentFrame.cameraBuffer.info.pMappedData, ",[169,877,878],{"class":766},"&",[169,880,881],{"class":774},"sceneData, ",[169,883,884],{"class":766},"sizeof",[169,886,887],{"class":774},"(GPUSceneData));\n",[169,889,891],{"class":755,"line":890},10,[169,892,844],{"emptyLinePlaceholder":843},[169,894,896],{"class":755,"line":895},11,[169,897,898],{"class":759},"    \u002F\u002F 2. PASS 0: Directional Shadow Mapping (2048x2048 D32_SFLOAT)\n",[169,900,902,905],{"class":755,"line":901},12,[169,903,904],{"class":770},"    VkRenderingAttachmentInfo",[169,906,907],{"class":774}," shadowAttachment{\n",[169,909,911,914,916],{"class":755,"line":910},13,[169,912,913],{"class":774},"        .sType ",[169,915,793],{"class":766},[169,917,918],{"class":774}," VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,\n",[169,920,922,925,927,929,932],{"class":755,"line":921},14,[169,923,924],{"class":774},"        .imageView ",[169,926,793],{"class":766},[169,928,796],{"class":774},[169,930,931],{"class":770},"get_shadow_image_view",[169,933,934],{"class":774},"(),\n",[169,936,938,941,943],{"class":755,"line":937},15,[169,939,940],{"class":774},"        .imageLayout ",[169,942,793],{"class":766},[169,944,945],{"class":774}," VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL,\n",[169,947,949,952,954],{"class":755,"line":948},16,[169,950,951],{"class":774},"        .loadOp ",[169,953,793],{"class":766},[169,955,956],{"class":774}," VK_ATTACHMENT_LOAD_OP_CLEAR,\n",[169,958,960,963,965],{"class":755,"line":959},17,[169,961,962],{"class":774},"        .storeOp ",[169,964,793],{"class":766},[169,966,967],{"class":774}," VK_ATTACHMENT_STORE_OP_STORE,\n",[169,969,971,974,976,979,981,984,986,990,993],{"class":755,"line":970},18,[169,972,973],{"class":774},"        .clearValue ",[169,975,793],{"class":766},[169,977,978],{"class":774}," { .depthStencil ",[169,980,793],{"class":766},[169,982,983],{"class":774}," { .depth ",[169,985,793],{"class":766},[169,987,989],{"class":988},"s8ozJ"," 1.0",[169,991,992],{"class":766},"f",[169,994,995],{"class":774}," } }\n",[169,997,999],{"class":755,"line":998},19,[169,1000,1001],{"class":774},"    };\n",[169,1003,1005,1008],{"class":755,"line":1004},20,[169,1006,1007],{"class":770},"    VkRenderingInfo",[169,1009,1010],{"class":774}," shadowPassInfo{\n",[169,1012,1014,1016,1018],{"class":755,"line":1013},21,[169,1015,913],{"class":774},[169,1017,793],{"class":766},[169,1019,1020],{"class":774}," VK_STRUCTURE_TYPE_RENDERING_INFO,\n",[169,1022,1024,1027,1029],{"class":755,"line":1023},22,[169,1025,1026],{"class":774},"        .renderArea ",[169,1028,793],{"class":766},[169,1030,1031],{"class":774}," shadowScissor,\n",[169,1033,1035,1038,1040,1043],{"class":755,"line":1034},23,[169,1036,1037],{"class":774},"        .layerCount ",[169,1039,793],{"class":766},[169,1041,1042],{"class":988}," 1",[169,1044,1045],{"class":774},",\n",[169,1047,1049,1052,1054,1057],{"class":755,"line":1048},24,[169,1050,1051],{"class":774},"        .pDepthAttachment ",[169,1053,793],{"class":766},[169,1055,1056],{"class":766}," &",[169,1058,1059],{"class":774},"shadowAttachment\n",[169,1061,1063],{"class":755,"line":1062},25,[169,1064,1001],{"class":774},[169,1066,1068,1071,1074,1076],{"class":755,"line":1067},26,[169,1069,1070],{"class":770},"    vkCmdBeginRendering",[169,1072,1073],{"class":774},"(cmd, ",[169,1075,878],{"class":766},[169,1077,1078],{"class":774},"shadowPassInfo);\n",[169,1080,1082,1085,1088,1091,1093,1096,1099,1101],{"class":755,"line":1081},27,[169,1083,1084],{"class":770},"    draw_geometry",[169,1086,1087],{"class":774},"(cmd, visibleObjects,",[169,1089,1090],{"class":759}," \u002F*is_depth=*\u002F",[169,1092,177],{"class":988},[169,1094,1095],{"class":774},",",[169,1097,1098],{"class":759}," \u002F*is_shadow=*\u002F",[169,1100,177],{"class":988},[169,1102,1103],{"class":774},");\n",[169,1105,1107,1110],{"class":755,"line":1106},28,[169,1108,1109],{"class":770},"    vkCmdEndRendering",[169,1111,1112],{"class":774},"(cmd);\n",[169,1114,1116],{"class":755,"line":1115},29,[169,1117,844],{"emptyLinePlaceholder":843},[169,1119,1121],{"class":755,"line":1120},30,[169,1122,1123],{"class":759},"    \u002F\u002F Transition Shadow Map for Shader Reading\n",[169,1125,1127,1130,1133,1136],{"class":755,"line":1126},31,[169,1128,1129],{"class":770},"    transition_image_layout",[169,1131,1132],{"class":774},"(cmd, _renderer.",[169,1134,1135],{"class":770},"get_shadow_image",[169,1137,1138],{"class":774},"(), \n",[169,1140,1142],{"class":755,"line":1141},32,[169,1143,1144],{"class":774},"        VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL);\n",[169,1146,1148],{"class":755,"line":1147},33,[169,1149,844],{"emptyLinePlaceholder":843},[169,1151,1153],{"class":755,"line":1152},34,[169,1154,1155],{"class":759},"    \u002F\u002F 3. PASS 1: Depth Pre-Pass (Early-Z Population)\n",[169,1157,1159,1161],{"class":755,"line":1158},35,[169,1160,904],{"class":770},[169,1162,1163],{"class":774}," depthAttachment{\n",[169,1165,1167,1169,1171],{"class":755,"line":1166},36,[169,1168,913],{"class":774},[169,1170,793],{"class":766},[169,1172,918],{"class":774},[169,1174,1176,1178,1180,1182,1185],{"class":755,"line":1175},37,[169,1177,924],{"class":774},[169,1179,793],{"class":766},[169,1181,796],{"class":774},[169,1183,1184],{"class":770},"get_depth_image_view",[169,1186,934],{"class":774},[169,1188,1190,1192,1194],{"class":755,"line":1189},38,[169,1191,940],{"class":774},[169,1193,793],{"class":766},[169,1195,945],{"class":774},[169,1197,1199,1201,1203],{"class":755,"line":1198},39,[169,1200,951],{"class":774},[169,1202,793],{"class":766},[169,1204,956],{"class":774},[169,1206,1208,1210,1212],{"class":755,"line":1207},40,[169,1209,962],{"class":774},[169,1211,793],{"class":766},[169,1213,967],{"class":774},[169,1215,1217,1219,1221,1223,1225,1227,1229,1231,1233],{"class":755,"line":1216},41,[169,1218,973],{"class":774},[169,1220,793],{"class":766},[169,1222,978],{"class":774},[169,1224,793],{"class":766},[169,1226,983],{"class":774},[169,1228,793],{"class":766},[169,1230,989],{"class":988},[169,1232,992],{"class":766},[169,1234,995],{"class":774},[169,1236,1238],{"class":755,"line":1237},42,[169,1239,1001],{"class":774},[169,1241,1243,1245],{"class":755,"line":1242},43,[169,1244,1007],{"class":770},[169,1246,1247],{"class":774}," depthPassInfo{\n",[169,1249,1251,1253,1255],{"class":755,"line":1250},44,[169,1252,913],{"class":774},[169,1254,793],{"class":766},[169,1256,1020],{"class":774},[169,1258,1260,1262,1264],{"class":755,"line":1259},45,[169,1261,1026],{"class":774},[169,1263,793],{"class":766},[169,1265,1266],{"class":774}," barrier_data.scissor,\n",[169,1268,1270,1272,1274,1276],{"class":755,"line":1269},46,[169,1271,1037],{"class":774},[169,1273,793],{"class":766},[169,1275,1042],{"class":988},[169,1277,1045],{"class":774},[169,1279,1281,1283,1285,1287],{"class":755,"line":1280},47,[169,1282,1051],{"class":774},[169,1284,793],{"class":766},[169,1286,1056],{"class":766},[169,1288,1289],{"class":774},"depthAttachment\n",[169,1291,1293],{"class":755,"line":1292},48,[169,1294,1001],{"class":774},[169,1296,1298,1300,1302,1304],{"class":755,"line":1297},49,[169,1299,1070],{"class":770},[169,1301,1073],{"class":774},[169,1303,878],{"class":766},[169,1305,1306],{"class":774},"depthPassInfo);\n",[169,1308,1310,1312,1314,1316,1318,1320,1322,1325],{"class":755,"line":1309},50,[169,1311,1084],{"class":770},[169,1313,1087],{"class":774},[169,1315,1090],{"class":759},[169,1317,177],{"class":988},[169,1319,1095],{"class":774},[169,1321,1098],{"class":759},[169,1323,1324],{"class":988},"false",[169,1326,1103],{"class":774},[169,1328,1330,1332],{"class":755,"line":1329},51,[169,1331,1109],{"class":770},[169,1333,1112],{"class":774},[169,1335,1337],{"class":755,"line":1336},52,[169,1338,844],{"emptyLinePlaceholder":843},[169,1340,1342],{"class":755,"line":1341},53,[169,1343,1344],{"class":759},"    \u002F\u002F 4. PASS 2: PBR Forward Pass (Depth Tested, Color Output)\n",[169,1346,1348,1351,1353,1356],{"class":755,"line":1347},54,[169,1349,1350],{"class":774},"    depthAttachment.loadOp ",[169,1352,793],{"class":766},[169,1354,1355],{"class":774}," VK_ATTACHMENT_LOAD_OP_LOAD;",[169,1357,1358],{"class":759}," \u002F\u002F Reuse depth pre-pass\n",[169,1360,1362,1364],{"class":755,"line":1361},55,[169,1363,904],{"class":770},[169,1365,1366],{"class":774}," colorAttachment{\n",[169,1368,1370,1372,1374],{"class":755,"line":1369},56,[169,1371,913],{"class":774},[169,1373,793],{"class":766},[169,1375,918],{"class":774},[169,1377,1379,1381,1383,1385,1388],{"class":755,"line":1378},57,[169,1380,924],{"class":774},[169,1382,793],{"class":766},[169,1384,796],{"class":774},[169,1386,1387],{"class":770},"get_swapchain_image_view",[169,1389,934],{"class":774},[169,1391,1393,1395,1397],{"class":755,"line":1392},58,[169,1394,940],{"class":774},[169,1396,793],{"class":766},[169,1398,1399],{"class":774}," VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,\n",[169,1401,1403,1405,1407],{"class":755,"line":1402},59,[169,1404,951],{"class":774},[169,1406,793],{"class":766},[169,1408,956],{"class":774},[169,1410,1412,1414,1416],{"class":755,"line":1411},60,[169,1413,962],{"class":774},[169,1415,793],{"class":766},[169,1417,967],{"class":774},[169,1419,1421,1423,1425,1428,1430,1433,1436,1438,1440,1443,1445,1447,1450,1452,1454,1457,1459],{"class":755,"line":1420},61,[169,1422,973],{"class":774},[169,1424,793],{"class":766},[169,1426,1427],{"class":774}," { .color ",[169,1429,793],{"class":766},[169,1431,1432],{"class":774}," { ",[169,1434,1435],{"class":988},"0.1",[169,1437,992],{"class":766},[169,1439,245],{"class":774},[169,1441,1442],{"class":988},"0.2",[169,1444,992],{"class":766},[169,1446,245],{"class":774},[169,1448,1449],{"class":988},"0.4",[169,1451,992],{"class":766},[169,1453,245],{"class":774},[169,1455,1456],{"class":988},"1.0",[169,1458,992],{"class":766},[169,1460,995],{"class":774},[169,1462,1464],{"class":755,"line":1463},62,[169,1465,1001],{"class":774},[169,1467,1469,1471],{"class":755,"line":1468},63,[169,1470,1007],{"class":770},[169,1472,1473],{"class":774}," pbrPassInfo{\n",[169,1475,1477,1479,1481],{"class":755,"line":1476},64,[169,1478,913],{"class":774},[169,1480,793],{"class":766},[169,1482,1020],{"class":774},[169,1484,1486,1488,1490],{"class":755,"line":1485},65,[169,1487,1026],{"class":774},[169,1489,793],{"class":766},[169,1491,1266],{"class":774},[169,1493,1495,1497,1499,1501],{"class":755,"line":1494},66,[169,1496,1037],{"class":774},[169,1498,793],{"class":766},[169,1500,1042],{"class":988},[169,1502,1045],{"class":774},[169,1504,1506,1509,1511,1513],{"class":755,"line":1505},67,[169,1507,1508],{"class":774},"        .colorAttachmentCount ",[169,1510,793],{"class":766},[169,1512,1042],{"class":988},[169,1514,1045],{"class":774},[169,1516,1518,1521,1523,1525],{"class":755,"line":1517},68,[169,1519,1520],{"class":774},"        .pColorAttachments ",[169,1522,793],{"class":766},[169,1524,1056],{"class":766},[169,1526,1527],{"class":774},"colorAttachment,\n",[169,1529,1531,1533,1535,1537],{"class":755,"line":1530},69,[169,1532,1051],{"class":774},[169,1534,793],{"class":766},[169,1536,1056],{"class":766},[169,1538,1289],{"class":774},[169,1540,1542],{"class":755,"line":1541},70,[169,1543,1001],{"class":774},[169,1545,1547,1549,1551,1553],{"class":755,"line":1546},71,[169,1548,1070],{"class":770},[169,1550,1073],{"class":774},[169,1552,878],{"class":766},[169,1554,1555],{"class":774},"pbrPassInfo);\n",[169,1557,1559,1561,1563,1565,1567,1569,1571,1573],{"class":755,"line":1558},72,[169,1560,1084],{"class":770},[169,1562,1087],{"class":774},[169,1564,1090],{"class":759},[169,1566,1324],{"class":988},[169,1568,1095],{"class":774},[169,1570,1098],{"class":759},[169,1572,1324],{"class":988},[169,1574,1103],{"class":774},[169,1576,1578],{"class":755,"line":1577},73,[169,1579,844],{"emptyLinePlaceholder":843},[169,1581,1583],{"class":755,"line":1582},74,[169,1584,1585],{"class":759},"    \u002F\u002F 5. PASS 3: Dear ImGui Dynamic Rendering\n",[169,1587,1589,1592,1594],{"class":755,"line":1588},75,[169,1590,1591],{"class":774},"    _imguiManager.",[169,1593,799],{"class":770},[169,1595,802],{"class":774},[169,1597,1599,1602],{"class":755,"line":1598},76,[169,1600,1601],{"class":770},"    render_debug_gui",[169,1603,802],{"class":774},[169,1605,1607,1609,1612],{"class":755,"line":1606},77,[169,1608,1591],{"class":774},[169,1610,1611],{"class":770},"end_frame",[169,1613,1112],{"class":774},[169,1615,1617,1619],{"class":755,"line":1616},78,[169,1618,1109],{"class":770},[169,1620,1112],{"class":774},[169,1622,1624],{"class":755,"line":1623},79,[169,1625,844],{"emptyLinePlaceholder":843},[169,1627,1629],{"class":755,"line":1628},80,[169,1630,1631],{"class":759},"    \u002F\u002F Transition Swapchain to Present Layout and Submit\n",[169,1633,1635,1638,1640],{"class":755,"line":1634},81,[169,1636,1637],{"class":774},"    _renderer.",[169,1639,1611],{"class":770},[169,1641,802],{"class":774},[169,1643,1645],{"class":755,"line":1644},82,[169,1646,1647],{"class":774},"}\n",[10,1649,1651],{"id":1650},"project-structure","Project Structure",[745,1653,1658],{"className":1654,"code":1656,"language":1657},[1655],"language-text","app\u002Fsrc\u002FMaikEngine\u002F\n├── Core\u002F\n│   ├── VulkanEngine.h\u002F.cpp       # Engine coordinator & frame pass orchestration\n│   ├── InputManager.h\u002F.cpp       # SDL3 keyboard & relative mouse capture\n│   ├── ISystem.h                 # Subsystem lifecycle interface\n│   └── main.h\u002F.cpp               # Application entry point\n├── Renderer\u002F\n│   ├── VulkanContext.h\u002F.cpp      # Instance, Device, Queue & VMA allocator lifecycle\n│   ├── Renderer.h\u002F.cpp           # Swapchain, Synchronization & Render Targets\n│   ├── PipelineBuilder.h         # Fluent Vulkan 1.3 Graphics Pipeline Builder\n│   ├── DescriptorAllocator.h\u002F.cpp# Dynamic Descriptor Pool allocator\n│   ├── DescriptorBuilder.h\u002F.cpp  # Descriptor Set Layout cache & fluent builder\n│   └── VulkanTypes.h             # GPU data structs, Push Constants, Uniforms\n├── Scene\u002F\n│   ├── SceneManager.h\u002F.cpp       # Scene object collection & CPU frustum culling\n│   ├── RenderObject.h            # Vertex, Mesh, Material & AABB definitions\n│   ├── CameraManager.h\u002F.cpp      # Camera controller & Gribb-Hartmann extraction\n│   └── Camera.h\u002F.cpp             # 6DOF View & Projection matrices\n├── Resources\u002F\n│   ├── ResourceManager.h\u002F.cpp    # VMA buffers\u002Fimages, fastgltf & libktx loader\n│   └── stb_image.cpp             # Image loader implementation unit\n└── UI\u002F\n    └── ImGuiManager.h\u002F.cpp       # Dear ImGui Vulkan 1.3 dynamic rendering wrapper\n","text",[37,1659,1656],{"__ignoreMap":750},[10,1661,1663],{"id":1662},"technical-specifications-stack","Technical Specifications & Stack",[1665,1666,1667,1684],"table",{},[1668,1669,1670],"thead",{},[1671,1672,1673,1678,1681],"tr",{},[1674,1675,1677],"th",{"align":1676},"left","Component",[1674,1679,1680],{"align":1676},"Technology",[1674,1682,1683],{"align":1676},"Detail",[1685,1686,1687,1702,1719,1733,1748,1763,1778,1793,1811,1826],"tbody",{},[1671,1688,1689,1695,1699],{},[1690,1691,1692],"td",{"align":1676},[18,1693,1694],{},"Language Standard",[1690,1696,1697],{"align":1676},[18,1698,23],{},[1690,1700,1701],{"align":1676},"Concepts, designated initializers, smart pointers, RAII.",[1671,1703,1704,1709,1713],{},[1690,1705,1706],{"align":1676},[18,1707,1708],{},"Graphics API",[1690,1710,1711],{"align":1676},[18,1712,27],{},[1690,1714,1715,1716,1718],{"align":1676},"Explicit Dynamic Rendering (",[37,1717,39],{},"), no render passes.",[1671,1720,1721,1726,1730],{},[1690,1722,1723],{"align":1676},[18,1724,1725],{},"Memory Allocation",[1690,1727,1728],{"align":1676},[18,1729,51],{},[1690,1731,1732],{"align":1676},"Suballocated device-local and host-visible GPU memory pools.",[1671,1734,1735,1740,1745],{},[1690,1736,1737],{"align":1676},[18,1738,1739],{},"Windowing & Input",[1690,1741,1742],{"align":1676},[18,1743,1744],{},"SDL3 (3.4+)",[1690,1746,1747],{"align":1676},"Native window creation, Vulkan surface, raw mouse\u002Fkeyboard events.",[1671,1749,1750,1755,1760],{},[1690,1751,1752],{"align":1676},[18,1753,1754],{},"Asset Parsing",[1690,1756,1757],{"align":1676},[18,1758,1759],{},"fastgltf (0.9+)",[1690,1761,1762],{"align":1676},"SIMD glTF 2.0 asset streaming (buffers, accessors, materials).",[1671,1764,1765,1770,1775],{},[1690,1766,1767],{"align":1676},[18,1768,1769],{},"Texture Formats",[1690,1771,1772],{"align":1676},[18,1773,1774],{},"libktx (4.x) & stb_image",[1690,1776,1777],{"align":1676},"KTX2 \u002F Basis Universal transcoding to BC7; PNG\u002FJPG fallback.",[1671,1779,1780,1785,1790],{},[1690,1781,1782],{"align":1676},[18,1783,1784],{},"Math Library",[1690,1786,1787],{"align":1676},[18,1788,1789],{},"GLM",[1690,1791,1792],{"align":1676},"Column-major linear algebra, quaternions, perspective math.",[1671,1794,1795,1800,1805],{},[1690,1796,1797],{"align":1676},[18,1798,1799],{},"Shading Language",[1690,1801,1802],{"align":1676},[18,1803,1804],{},"GLSL 450 \u002F SPIR-V",[1690,1806,1807,1808,106],{"align":1676},"Compiled via offline CMake custom target using Google ",[37,1809,1810],{},"glslc",[1671,1812,1813,1818,1823],{},[1690,1814,1815],{"align":1676},[18,1816,1817],{},"Debug UI",[1690,1819,1820],{"align":1676},[18,1821,1822],{},"Dear ImGui (1.92 Docking)",[1690,1824,1825],{"align":1676},"Immediate-mode UI overlay rendered directly via dynamic rendering.",[1671,1827,1828,1833,1838],{},[1690,1829,1830],{"align":1676},[18,1831,1832],{},"Build System",[1690,1834,1835],{"align":1676},[18,1836,1837],{},"Modern CMake (4.x \u002F Ninja)",[1690,1839,1840],{"align":1676},"Multi-configuration build targets with automated shader pipelines.",[10,1842,1844],{"id":1843},"roadmap-next-milestones","Roadmap & Next Milestones",[77,1846,1848],{"id":1847},"current-phase-stabilization-visual-quality-in-progress","Current Phase: Stabilization & Visual Quality (In Progress)",[82,1850,1853,1862,1868,1874,1880,1886,1892,1898,1907],{"className":1851},[1852],"contains-task-list",[85,1854,1857,1861],{"className":1855},[1856],"task-list-item",[1858,1859],"input",{"checked":843,"disabled":843,"type":1860},"checkbox"," Modern Vulkan 1.3 Dynamic Rendering core with double buffering.",[85,1863,1865,1867],{"className":1864},[1856],[1858,1866],{"checked":843,"disabled":843,"type":1860}," Complete Cook-Torrance PBR BRDF with metallic\u002Froughness workflow.",[85,1869,1871,1873],{"className":1870},[1856],[1858,1872],{"checked":843,"disabled":843,"type":1860}," glTF 2.0 scene loading with KTX2 \u002F Basis Universal texture decompression.",[85,1875,1877,1879],{"className":1876},[1856],[1858,1878],{"checked":843,"disabled":843,"type":1860}," GPU mipmap generation pyramid via blit transfers.",[85,1881,1883,1885],{"className":1882},[1856],[1858,1884],{"checked":843,"disabled":843,"type":1860}," CPU Frustum Culling with AABB Gribb-Hartmann plane extraction.",[85,1887,1889,1891],{"className":1888},[1856],[1858,1890],{"checked":843,"disabled":843,"type":1860}," Multi-pass architecture: Directional Shadow Mapping + Depth Pre-Pass + PBR.",[85,1893,1895,1897],{"className":1894},[1856],[1858,1896],{"checked":843,"disabled":843,"type":1860}," Resilient swapchain recreation handling tiling window managers and Alt-Tab.",[85,1899,1901,622,1903,1906],{"className":1900},[1856],[1858,1902],{"disabled":843,"type":1860},[18,1904,1905],{},"Stabilization Fixes",": Resolve Early-Z hardware suppression flag and full teardown cleanup.",[85,1908,1910,622,1912,1915],{"className":1909},[1856],[1858,1911],{"disabled":843,"type":1860},[18,1913,1914],{},"MikkTSpace Tangents",": Compute accurate vertex tangent vectors at import to replace derivative-based normal calculation.",[77,1917,1919],{"id":1918},"upcoming-phase-vulkan-13-overhaul-advanced-graphics","Upcoming Phase: Vulkan 1.3 Overhaul & Advanced Graphics",[82,1921,1923,1932,1945,1954,1963,1972],{"className":1922},[1852],[85,1924,1926,622,1928,1931],{"className":1925},[1856],[1858,1927],{"disabled":843,"type":1860},[18,1929,1930],{},"Render Graph (Frame Graph)",": Declarative pass specification with automated barrier insertion and memory aliasing.",[85,1933,1935,622,1937,1940,1941,1944],{"className":1934},[1856],[1858,1936],{"disabled":843,"type":1860},[18,1938,1939],{},"Vulkan 1.3 Bindless Descriptors",": Global unbounded texture arrays (",[37,1942,1943],{},"u_Textures[]",") eliminating per-material descriptor set allocations.",[85,1946,1948,622,1950,1953],{"className":1947},[1856],[1858,1949],{"disabled":843,"type":1860},[18,1951,1952],{},"Unified Geometry Mega-Buffers",": Single consolidated vertex\u002Findex buffer suballocations removing per-mesh buffer binds.",[85,1955,1957,622,1959,1962],{"className":1956},[1856],[1858,1958],{"disabled":843,"type":1860},[18,1960,1961],{},"Cascaded Shadow Maps (CSM)",": 3-4 frustum splits with PCF Poisson disk filtering.",[85,1964,1966,622,1968,1971],{"className":1965},[1856],[1858,1967],{"disabled":843,"type":1860},[18,1969,1970],{},"Image-Based Lighting (IBL)",": Irradiance convolution, prefiltered environment maps, and split-sum BRDF LUT.",[85,1973,1975,622,1977,1980,1981,1984],{"className":1974},[1856],[1858,1976],{"disabled":843,"type":1860},[18,1978,1979],{},"HDR & Post-Processing Pipeline",": Offscreen ",[37,1982,1983],{},"R16G16B16A16F"," floating-point target, Kawase Bloom, and ACES\u002FAgX tone mapping.",[77,1986,1988],{"id":1987},"long-term-phase-game-engine-architecture","Long-Term Phase: Game Engine Architecture",[82,1990,1992,2005,2014,2027,2036],{"className":1991},[1852],[85,1993,1995,622,1997,2000,2001,2004],{"className":1994},[1856],[1858,1996],{"disabled":843,"type":1860},[18,1998,1999],{},"Entity-Component-System (ECS)",": Integration of ",[18,2002,2003],{},"EnTT"," for high-performance, cache-coherent gameplay data.",[85,2006,2008,622,2010,2013],{"className":2007},[1856],[1858,2009],{"disabled":843,"type":1860},[18,2011,2012],{},"Hierarchical Scene Graph",": Parent-child transform propagation with dirty flag caching.",[85,2015,2017,622,2019,2022,2023,2026],{"className":2016},[1856],[1858,2018],{"disabled":843,"type":1860},[18,2020,2021],{},"GPU-Driven Rendering",": Multi-Draw Indirect (",[37,2024,2025],{},"vkCmdDrawIndexedIndirectCount",") and compute-driven Hi-Z occlusion culling.",[85,2028,2030,622,2032,2035],{"className":2029},[1856],[1858,2031],{"disabled":843,"type":1860},[18,2033,2034],{},"Integrated Editor",": ImGui Docking workspace with dedicated offscreen viewport and ImGuizmo 3D handles.",[85,2037,2039,622,2041,2000,2044,2047,2048,2051],{"className":2038},[1856],[1858,2040],{"disabled":843,"type":1860},[18,2042,2043],{},"Physics & Audio",[18,2045,2046],{},"Jolt Physics"," (rigid bodies, collisions) and ",[18,2049,2050],{},"MiniAudio"," (spatial 3D sound).",[2053,2054,2055],"style",{},"html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sOPea, html code.shiki .sOPea{--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .sFR8T, html code.shiki .sFR8T{--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .suv1-, html code.shiki .suv1-{--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .s8ozJ, html code.shiki .s8ozJ{--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":750,"searchDepth":763,"depth":763,"links":2057},[2058,2059,2060,2067,2073,2074,2075,2076],{"id":12,"depth":763,"text":13},{"id":63,"depth":763,"text":64},{"id":74,"depth":763,"text":75,"children":2061},[2062,2063,2064,2065,2066],{"id":79,"depth":784,"text":80},{"id":158,"depth":784,"text":159},{"id":258,"depth":784,"text":259},{"id":303,"depth":784,"text":304},{"id":342,"depth":784,"text":343},{"id":366,"depth":763,"text":367,"children":2068},[2069,2070,2071,2072],{"id":377,"depth":784,"text":378},{"id":447,"depth":784,"text":448},{"id":581,"depth":784,"text":582},{"id":665,"depth":784,"text":666},{"id":742,"depth":763,"text":743},{"id":1650,"depth":763,"text":1651},{"id":1662,"depth":763,"text":1663},{"id":1843,"depth":763,"text":1844,"children":2077},[2078,2079,2080],{"id":1847,"depth":784,"text":1848},{"id":1918,"depth":784,"text":1919},{"id":1987,"depth":784,"text":1988},"None","07\u002F2026","Custom Vulkan 1.3 real-time rendering engine featuring dynamic rendering, physically-based shading (PBR), and hardware-compressed texture streaming.","md","maikengine.png",{},"\u002Fportfolio\u002Fmaikengine","https:\u002F\u002Fgitlab.com\u002FRaskieL\u002Fmaikengine",{"title":5,"description":2083},"portfolio\u002Fmaikengine",[2092,2093,2094,2095,2096,2097,2098,2099,314,2100],"vulkan","c++","cmake","glsl","spir-v","graphics","pbr","rendering-engine","sdl","Personal","JkweU5BtootGDb2UsNj-rUuZnY9ViJcMCgf0_C0ppY8",1791735800293]