随笔分类 - Real-time Rendering
摘要:I implemented a real-time raytracing caustics algorithm. Supported features - Adaptive sampling - Dispersion - Soft caustics - Various light types(Poi
阅读全文
摘要:SV_POSITION xy = screen space coordinate (>1, offseted by 0.5)z = proj.z / proj.w = clip space depthw = view.z = view space depth
阅读全文
摘要:The convolution of normal distribution is also a normal distribution, even in high dimensional cases.
阅读全文
摘要:I implemented a GI solution for Autodesk Revit 2021.
阅读全文
摘要:Ray tracing acceleration structureRebuild & RefitLBVH ConstructionMerge TreePLOC TreePure RT Reflection DemoRT + SSR SolutionRay-traced shadowTransparency & TranslucencyMany LightsRaytracing GICulling...
阅读全文
摘要:功能与用法DX12 有一个函数,叫做ExecuteIndirect,功能是:(1)将一组由CPU指定的命令(2)用由GPU指定的参数(3)执行由GPU指定的次数这个函数给予GPU定制命令的能力,利用它可以在GPU端实现视锥体剔除。ID3D12GraphicsCommandList::ExecuteIndirect 的声明如下: virtual void STDMETHODCALLTY...
阅读全文
摘要:介绍https://morgan3d.github.io/articles/2019-04-01-ddgi/https://morgan3d.github.io/articles/2019-04-01-ddgi/overview.html这个算法是基于irradiance probe的方法的一个改进,在原有的基础上增加了深度信息,从而避免了漏光的情况。每个probe不仅保存了各个方向的光照,还存了...
阅读全文
摘要:Create D3D12 Device CD3DX12_CPU_DESCRIPTOR_HANDLE rtvHandle(m_rtvHeap->GetCPUDescriptorHandleForHeapStart()); // Create a RTV for each frame. for (UINT n = 0; n GetBuffer(n, IID_P...
阅读全文
摘要:FXC documentationhttps://docs.microsoft.com/en-us/windows/desktop/direct3dtools/dx-graphics-tools-fxc-syntax Get preprocessed shader codefxc.exe /D MANY_LIGHT=1 /D MACRO_A=1 /D MACRO_B=1 /P "output.tx...
阅读全文
摘要:An Interpretation of Depth Value Recently when I am working on Screen Space Reflection, I noticed there are some subtleties in the computation of depth value. In this article I will explain the deeper...
阅读全文
摘要:Here is diffuse cone tracing code. Here is specular cone tracing code
阅读全文
摘要:Here are some notes for the GGX paper "Microfacet Models for Refraction through Rough Surfaces". In this article, I will give derivations for some important equation in this paper. Derivation for equa...
阅读全文
摘要:A simple demo using deferred shading and hdr rendering.I make the scene myself using 3ds max.Here is the github link:https://github.com/league1991/SnowmanHere are the results:来自为知笔记(Wiz)
阅读全文