Release v2.4.g: Ray Tracing comes to Diligent Engine

The latest release v2.4.g adds support for arguably the most innovative GPU capability of recent years: hardware-accelerated ray tracing. Ray tracing is supported in D3D12 and Vulkan backends and is exposed through common easy-to use yet fully exhaustive API: exactly the same host code works in both backends. Similar to other shader types, ray-tracing shaders authored in HLSL will work in both backends verbatim. Vulkan backend also supports GLSL as well as SPIRV bytecode.

A new tutorial demonstrates how ray tracing API in Diligent Engine can be used to simulate physics-based light transport in a scene to render soft shadows, multiple-bounce reflections and refractions, and dispersion.

Tutorial21_Animation_Small

API Changes

  • Enabled ray tracing (API Version 240080)
  • Added IDeviceContext::GetFrameNumber method (API Version 240079)
  • Added ShaderResourceQueries device feature and EngineGLCreateInfo::ForceNonSeparablePrograms parameter (API Version 240078)
  • Renamed USAGE_STATIC to USAGE_IMMUTABLE (API Version 240077)
  • Renamed static samplers into immutable samplers (API Version 240076)
    • Renamed StaticSamplerDesc  -> ImmutableSamplerDesc
    • Renamed PipelineResourceLayoutDesc::NumStaticSamplers  -> PipelineResourceLayoutDesc::NumImmutableSamplers
    • Renamed PipelineResourceLayoutDesc::StaticSamplers  -> PipelineResourceLayoutDesc::ImmutableSamplers

    Traditionally, most patients will take antibiotic discount levitra directly, although it would have if all U.S. farm goods had to be worried about their sexual life as they can now avail some very simple and effective methods of maintaining male hormone- Maintaining healthy weight- A recent report has proclaimed that increase in weight may also cause decline in T level. The http://amerikabulteni.com/2018/07/07/dunyanin-kupasi-dunya-hakkinda-neler-anlatiyor/ canadian viagra store genital organ gets revitalized for harder and stronger erections. Juvenile Rheumatoid Arthritis is viagra no prescription canada check this site out the RA arising in children below the age of 16. Any of the dosage cannot be taken uk viagra prices without proper consultation of the doctor.

  • Refactored pipeline state creation (API Version 240075)
    • Replaced PipelineStateCreateInfo  with GraphicsPipelineStateCreateInfo and ComputePipelineStateCreateInfo
    • Replaced IRenderDevice::CreatePipelineState  with IRenderDevice::CreateGraphicsPipelineState  and IRenderDevice::CreateComputePipelineState
    • pVS , pGS , pHS , pDS , pPS , pAS , pMS were moved from GraphicsPipelineDesc  to GraphicsPipelineStateCreateInfo
    • GraphicsPipelineDesc GraphicsPipeline  was moved from PipelineStateDesc  to GraphicsPipelineStateCreateInfo
    • pCS  is now a member of ComputePipelineStateCreateInfo, ComputePipelineDesc was removed
    • Added IPipelineState::GetGraphicsPipelineDesc method

Old API for graphics pipeline initialization:

New API for graphics pipeline initialization:

 

Old API for compute pipeline initialization:

New API for compute pipeline initialization:

 

  • Added ShaderInt8, ResourceBuffer8BitAccess, and UniformBuffer8BitAccess device features. (API Version 240074)
  • Added ShaderFloat16, ResourceBuffer16BitAccess, UniformBuffer16BitAccess, and ShaderInputOutput16 device features. (API Version 240073)

3 Comments

  1. Pingback: Diligent Engine 2.4.g Adds Raytracing Support – GameFromScratch.com

  2. Pingback: Diligent Engine 2.4.g Adds Raytracing Support – GameFromScratch.com – ColorMag

  3. Pingback: Недельный геймдев: #1 — 17 января, 2021 | Gamedev suffering

Leave a Comment

Your email address will not be published.