Changelog for keid-render-basic-0.2.0.0
Changelog for keid-render-basic
0.2.0.0
Rendering uses Vulkan dynamic rendering targets in a render graph.
- Requires
keid-core >= 0.2.0.0for the Vulkan 1.3 baseline and dynamic rendering. Render.Basic.RenderTargetsholdsrtForwardMsaaandrtShadowMap.Render.ForwardMsaa.renderandrenderReadingdraw into the swapchain image. Multisampled color resolves into it; with one sample it is stored straight into the swapchain image.Render.ShadowMap.Targetrenders the multiview shadow map.depthis the tracked shadow map andrenderdraws into it. Set0 samples shadow maps inSHADER_READ_ONLY_OPTIMAL.- The light count is checked against
maxMultiviewViewCount.
Render.Target.Composerenders into the swapchain image without depth and without clearing (render,renderReading).Render.Basic.StageGraphandRenderGraphspecialise the render graph to the basic targets and pipelines. The loader stage draws through it.- Pipelines take their sample count, attachment formats and view mask from the render target.
- Shadow-casting pipelines hot-reload against the shadow map with the sun bindings.
- Sprite and TileMap use explicit
terminateInvocation, Lit Material and Lit Textured usedemote. - Built-in pipelines compile their shaders with
Render.Code.compileStages. Hot-reloaded pipelines no longer setcReflect. - Removed
RenderPasses,rpForwardMsaa,rpShadowPass,Settings.sMSAA,Render.Pass.Compose,Render.ShadowMap.RenderPass, theusePassre-exports, and the sample count argument of the pipelineallocatefunctions.
0.1.12.0
Moving from EvanwSdf atlases (thanks Evan!), to MTSDF by Chlumsky. Atlas generation now doesn't require using browser and copypasting.
- Added
Resource.Font.Ktxffor the texture+atlas+shaping font container.- New deps:
ktx-font,msdf-atlas,kb-text-shape. - Text is shaped once with
Ktxf.shapeand placed with the pureKtxf.place, which wraps and aligns the lines usingkb-text-layoutviaktx-font. Ktxf.Stackpairs the shaping context with its measuring style.allocateStack1/allocateMonoStacksproduce those.
- New deps:
- Removed
Resource.Font.EvanwSdf.*(models andpEvanwSdfpipeline). - Added
Resource.Font.Msdf.*models and (pMsdf) pipeline. - Changed
Engine.UI.Message.Input.inputFontfield to use textureId-augmented font stacks (Ktxf.Stack). - Added
Engine.UI.Message.Input.inputBreakfield to pick the line breaking strategy. Long lines now wrap to the box width and align per line. - Removed
Engine.UI.Message.Input.inputFontIdfield, now redundant. - Added Base{white} built-in texture.
- Breaking change as it will alter the indices that come after it.
0.1.11.0
- Added specialization constants to common Lit code (thus, all the pipelines).
- Added Lit specialization to Basic.Settings.
- Moved antialiasing settings (msaa, sampler anisotropy) to Basic.Settings.
- Use new
Basic.swapchainSettingsinstead of passing swapchain as arguments.
- Use new
- Refactored external pipelines to use one loader for all the variants.
- External pipelines now react to change in the specialization constants.
- Fixed AO texture application in Material.
- With 0 being most occluded, and 1 fully open.
- Values are multiplicative now, like the rest of the channels.
- Changed Fresnel function for lights to use the roughness-aware version.
0.1.10.0
- Update to follow the changes in keid-core-0.1.11 and geomancy-0.3.
- Fix lit pipelines by removing spurious sign flips.
- Require LitColored to participate in the depth pre-pass.
0.1.9.0
- Moved to geomancy-layout.
- Added discard and color specializations to
TileMap.
0.1.8.0
- Embedded texture resources now using KTX2.
- Fixed grid artifacts in TileMap shader.
- Added multiscattering term for
Litpipelines, plugging an energy loss in metals. - Added Unlit Line2D pipeline for batches of extra-fancy lines with rounded corners and segments.
- Fixed missing margins in sprite model generation from an atlas.
- Sprite LOD fixed to 0 to prevent issues with packed tilesets.
- Added tileset borders and offset.
- Changed TileMap pipeline model to use Tiled-style mod flags in A-channel.
0.1.7.0
- Pipelines updated to use
Engine.Vulkan.Pipeline.Graphics. - Pipelines wrapped in a HKD.
- The
Pipelinesis now an alias forIdentitywrapper. - The data type is now
PipelinesF fwith a hole for HKD parameter. - The constructor name is still
Pipelines, with all the fields intact.
- The
- Added a bunch of functions to work with runtime-reloadable pipelines.
- Expose
stageCodeandstageSpirvfor all pipelines. - Added
Render.Basic.renderingreusable stage component.
0.1.6.1
withFrozenCallStackfixes for GHC-9.0.- Added color helpers to
Render.Unlit.Colored. - Added
Render.Unlit.Spritepipeline.- Available as
pSpriteandpSpriteOutline.
- Available as
0.1.6.0
- Updated
Loaderstage to camera changes in core. - Import sun (directional light) functions from demos.
0.1.5.0
- Extracted deprecated
allocateRenderpass_intoRender.Basic.allocate. - Extracted hardcoded shadowmap params into
Render.Basic.Settings. - Added
Render.Unlit.TileMappipeline. - Added
Render.DepthOnlypipeline. - Updated lit pipelines to match vertex position calculation.
- Fixed shadowmap index guard.
- Pipelines updated for new configs with specialization.
pDebugis split into multiple pipelines, specialized by mode.
0.1.4.0
Update to match keid-core-0.1.4.0.
- Changed
allocatePipelinesto usemsaadirectly. (allocatePipelines_remains unchanged.) - Fixed litMain check for missing shadowmap.
- Relaxed
Set0.allocate,Set0.allocateEmptyto anyMonadVulkanunderResourceT. - Added pipeline config exports.
- Added shared pipeline params to collection.
0.1.3.0
- Replaced RIO in resource loaders with constraints.
ForwardMSAAandShadowMapupdated tokeid-core-0.1.3.0.
0.1.2.1
- Fixed missing embedded textures in source distribution.
0.1.2.0
- Added embedded base textures and cubes needed for shader code.
- Changed Font resource to Source loader for both container and texture.
- Added callstack freezing to report call sites in debug log.
- Changed Loader stage to use
Sourcein bootstrap. - Removed
Set0.set0andSet0.set0_.- Added
Set0.mkBindingsinstead. - Minimal descriptor counts derived from base collections to prevent HOOM errors.
- Added
0.1.1.4
- Fixed another VK_HOST_OUT_OF_MEMORY, in Loader stage.
0.1.1.3
- Removed unused deps.
- Fixed VK_HOST_OUT_OF_MEMORY due to zero cubemap descriptors provided in Basic pipelines.
0.1.1.2
- Fix ambient occlusion in LitMaterial shader setup.
- Fix roughness clamping in Lit shader.
0.1.1.1
- Update timer to match
keid-core.
0.1.1.0
- Added
Stage.Loader.*(andkeid-geometrydependency with it).
0.1.0.0
- Initial public version.