《Unity着色器圣经》2.0.8 | 光线追踪着色器

目录索引

译文

光线追踪着色器是一种扩展名为“.raytrace”的实验性程序,它可以在 GPU 上进行光线追踪计算。光线追踪着色器只能在高清渲染管线(HDRP)下运行,并且有一些限制,比如如果我们想使用 DXR(DirectX 光线追踪),我们至少需要一块 GTX 1080 显卡或支持 RTX 的同级显卡,系统要求在 Windows 10 版本 1809+ 和 Unity 2019.3b1 以上。

在处理光线投射的算法(例如全局光照、反射、折射或焦散)上,我们可以使用光线追踪着色器来替代“.compute ”类型的计算着色器。


原文对照

Ray Tracing Shader is a type of experimental program with the extension “.raytrace”. It allows Ray Tracing processing on the GPU. It works only in High Definition RP and has some technical limitations. If we want to work with DXR (DirectX Ray Tracing), we must have at least one GTX 1080 graphics card or equivalent with RTX support, Windows 10 version 1809+ and Unity 2019.3b1 onwards.

We can use this kind of program to replace the “.compute” type shader in processing algorithms for ray-casting, e.g., global illumination, reflections, refraction, or caustic.

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容