This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

使用DLSS和FSR升级

警告
The feature is still EXPERIMENTAL.该功能仍然是实验

UNIGINE provides support for two advanced upscaling technologies: NVIDIA DLSS (Deep Learning Super Sampling) and AMD FSR 2 (FidelityFX Super Resolution 2). These technologies enable upscaling on a wide range of devices from different manufacturers.UNIGINE支持两种高级升频技术:NVIDIA DLSS(Deep Learning Super Sampling)和AMD FSR 2(FidelityFX Super Resolution 2)。 这些技术可以在来自不同制造商的各种设备上进行升级。

注意
UNIGINE provides support for DLSS 3 and FSR 2.2.UNIGINE提供了对DLSS 3FSR 2.2的支持。

These upscaling technologies are used to render high-resolution images based on the lower resolution source. If both upscalers are available, you can choose between them, or you can turn off upscaling at all. We suggest using the DLSS technology as it produces high-quality results with fewer visual artifacts.这些升频技术用于基于较低分辨率源呈现高分辨率图像。 如果两个升频都可用,则可以在它们之间进行选择,也可以完全关闭升频。 我们建议使用DLSS技术,因为它可以产生高质量的结果,减少视觉伪影。

注意
DLSS is not available out-of-the-box and requires additional configuration of your UNIGINE project.DLSS 无法开箱即用,需要对 UNIGINE 项目进行额外配置

注意
The TAA effect is automatically disabled for the final image rendering when the DLSS or FSR 2 upscaling is applied.当应用DLSS或FSR2升频时,将自动禁用最终图像渲染的TAA效果。

Requirements and Restrictions
要求和限制#

The DLSS and FSR 2 upscalers have specific requirements and compatibility restrictions determining whether the application supports these features.DLSS和FSR2升频器具有特定要求和兼容性限制,可确定应用程序是否支持这些功能。

The upscalers are initialized on render initialization. To verify whether they are supported and initialized after application startup, you can do one of the following:升频器在渲染初始化时初始化。 要验证它们是否受支持并在应用程序启动后初始化,可以执行以下操作之一:

  • Check the Render section of the console output.检查控制台输出的Render部分。
  • Run the dlss_info and/or fsr_info console commands.运行dlss_info和/或fsr_info控制台命令。

For example, the Render section may provide the following information:例如,Render部分可以提供以下信息:

源代码
---- Render ----
DLSS is supported
DLSS Streamline version: 2.4.0
DLSS NGX version: 3.7.0
FSR is supported
FSR Version: 2.2.2
FSR Max Contexts: 8
FSR RAM Scratch Size: 10 MB

If the upscaler is not supported, a corresponding message will be displayed in the console.如果不支持upscaler,则控制台中将显示相应的消息。

DLSS
DLSS#

For proper work, DLSS must meet the following requirements:对于正确的工作,DLSS必须满足以下要求:

  • Platforms: Windows平台:Windows
  • Graphic API: DirectX 12图形API:DirectX12
  • Hardware: any GeForce RTX GPU硬件:任何 GeForce RTX GPU
  • Driver: 522.25 version or newer驱动程序:522.25版本或更高版本

For example, if you run the application with a GPU that is not listed, you will receive the following message in the console:例如,如果您使用未列出的GPU运行应用程序,您将在控制台中收到以下消息:

源代码
DLSS is not supported
Not an Nvidia GPU
注意
In addition, you can receive messages on missing libraries, as DLSS requires additional configuration of your UNIGINE project.此外,您还可以接收有关缺少库的消息,因为 DLSS 需要对您的 UNIGINE 项目进行其他配置

FSR 2
FSR 2#

FSR 2 must meet the following requirements:FSR 2必须满足以下要求:

  • Platforms: Windows平台:Windows
  • Graphic API: DirectX 12图形API:DirectX12
  • Hardware: any GPUs supporting Shader Model 6.2.硬件:任何支持Shader Model 6.2的Gpu。
  • Driver: no special requirements.驱动程序:没有特殊要求。

For example, if you run the application with a graphic API other than DirectX 12, you will receive the following messages in the console:例如,如果您使用DirectX12以外的图形API运行应用程序,您将在控制台中收到以下消息:

源代码
FSR is not implemented, FSR is currently available only for DX12

Using DLSS
使用DLSS#

For DLSS technology to work properly with UNIGINE, additional environment configuration is required.为了使DLSS技术与UNIGINE一起正常工作,需要额外的环境配置。

DLSS on Windows
Windows 上的 DLSS#

警告

用于在 Windows 上测试 DLSS 集成的是 NVIDIA Streamline SDK 版本 2.7.32。其他版本尚未测试,可能会产生意外结果。

  1. Follow this link to download the NVIDIA Streamline SDK, which serves as a wrapper for DLSS and all its features.Follow this link to download the NVIDIA RTX DLSS SDK, which serves as a wrapper for DLSS and all its features.点击此链接下载 NVIDIA Streamline SDK,它作为 DLSS 及其全部功能的封装器。
  2. Click Access Github.点击 Access Github

  3. 在继续操作之前,请查看许可协议详情,并确保您接受所有条款和条件:

    注意
    1. 在打开的页面中,找到文件和文件夹列表中的 license.txt 文件。

    2. 打开该文件并仔细阅读内容
    3. 点击 Streamline 返回仓库主页。

    4. 在相同的文件和文件夹列表中,找到 license.txt 中提到的 NVIDIA Nsight Perf SDK License (28Sept2022).pdf 文件。
    5. 打开该文件并仔细阅读许可协议
    6. 如果您接受所有条款和条件,请继续执行以下步骤。
  4. 如前所述,点击 Streamline 返回仓库主页。
  5. 下载 Streamline SDK 2.7.32 Release。点击 Releases 链接:

    找到 Streamline SDK 2.7.32 Release,下载 streamline-sdk-v2.7.32.zip 压缩包:

  6. Extract the ZIP archive. By default, it is extracted to the streamline-sdk-v2.7.32 folder. However, you can rename it if necessary.解压 ZIP 压缩包。默认会解压到 streamline-sdk-v2.7.32 文件夹,您也可以根据需要重命名。
  7. 在继续操作之前,请查看许可协议详情,并确保您接受所有条款和条件:

    注意
    1. 打开 streamline-sdk-v2.7.32/bin/x64 文件夹,找到 nvngx_dlss.license.txt 文本文件。
    2. 打开该文件并仔细阅读许可协议
    3. 如果您接受所有条款和条件,请继续执行以下步骤。
  8. 关闭文件,返回 streamline-sdk-v2.7.32/bin/x64 文件夹,找到以下文件:

    注意
    You don't need to install the Streamline SDK. Simply navigate to the folder.您无需安装 Streamline SDK,只需导航至该文件夹即可。
    • nvngx_dlss.dll
    • nvngx_dlss.license.txt
    • sl.common.dll
    • sl.dlss.dll
    • sl.interposer.dll
  9. Copy these files to the bin folder of your UNIGINE project:Copy these files to the bin folder of your UNIGINE project:将这些文件复制到 UNIGINE 项目的 bin 文件夹中:

    注意
    通过复制许可文件,表示您接受其中所有条款和条件。
    1. Find your project in the UNIGINE SDK Browser and select Other Actions -> Open folder.

      在 UNIGINE SDK 浏览器中找到您的项目,并选择 Other Actions -> Open folder

    2. In the directory that opens, find and open the bin folder.在打开的目录中,找到并打开 bin 文件夹。
    3. Copy the 5 files listed above.复制上面列出的 5 个文件。
  10. 返回 streamline-sdk-v2.7.32 根目录,找到以下许可文件:

    • license.txt
    • NVIDIA Nsight Perf SDK License (28Sept2022).pdf
  11. 将这些文件复制到 UNIGINE 项目的根目录。

    注意
    通过复制许可文件,表示您接受其中所有条款和条件。
  12. The changes will be applied at the next application start-up. So, if you have UnigineEditor opened, restart it to apply changes.更改将在下次启动应用程序时生效。因此,如果已打开 UnigineEditor,请重新启动以应用更改。
  13. In UnigineEditor, open the console and check that DLSS is available. The corresponding information is provided in the Render section:在 UnigineEditor 中打开控制台,检查 DLSS 是否可用。相关信息显示在 Render 部分:

    注意
    If DLSS is not available, the corresponding message will be shown in the console.如果 DLSS 不可用,控制台中将显示相应信息。

To use DLSS for the scene, enable it in one of the following ways and specify settings:要在场景中使用 DLSS,可通过以下方式之一启用并设置参数:

  • Via the UnigineEditor interface:通过 UnigineEditor 界面启用:

  • Using the render_upscale_mode console command:使用控制台命令 render_upscale_mode 启用:

    源代码
    render_upscale_mode 2

DLSS on Linux
Linux 上的 DLSS#

在 Linux 上使用的是 DLSS SDK 310.2.1。

  1. Follow this link to download the NVIDIA Streamline SDK, which serves as a wrapper for DLSS and all its features.Follow this link to download the NVIDIA RTX DLSS SDK, which serves as a wrapper for DLSS and all its features.点击此链接下载 NVIDIA RTX DLSS SDK,它作为 DLSS 及其全部功能的封装器。
  2. 在继续操作之前,请查看许可协议详情,并确保您接受所有条款和条件:

    注意
    1. 在打开的页面中,找到文件和文件夹列表中的 LICENSE.txt 文件。

    2. 打开该文件并仔细阅读内容
    3. 如果您接受所有条款和条件,请继续执行以下步骤。
  3. 下载 DLSS/lib/Linux_x86_64 文件夹中的以下库文件:

    • libnvidia-ngx-dlssd.so.310.2.1
    • libnvidia-ngx-dlss.so.310.2.1
  4. 将这些文件复制到 UNIGINE 项目的 bin 文件夹:

    注意
    通过复制许可文件,表示您接受其中所有条款和条件。
    1. 在 UNIGINE SDK 浏览器中找到您的项目,并选择 Other Actions -> Open folder

    2. 在打开的目录中,找到并打开 bin 文件夹。
  5. 返回 github 上的 DLSS 根目录,找到以下许可文件:

    • LICENSE.txt
  6. 将该文件复制到 UNIGINE 项目的根目录。

    注意
    通过复制许可文件,表示您接受其中所有条款和条件。
  7. 更改将在下次启动应用程序时生效。因此,如果已打开 UnigineEditor,请重新启动以应用更改。
  8. 在 UnigineEditor 中打开控制台,检查 DLSS 是否可用。相关信息显示在 Render 部分。

    注意
    如果 DLSS 不可用,控制台中将显示相应信息。

要在场景中使用 DLSS,可通过以下方式之一启用并设置参数:

  • 通过 UnigineEditor 界面启用:

  • 使用控制台命令 render_upscale_mode 启用:

    源代码
    render_upscale_mode 2

Using FSR2
使用FSR2#

Before applying FSR 2 upscaling, you should check if it is available. In UnigineEditor, open the console and check the information provided in the Render section:在应用FSR2升级之前,您应该检查它是否可用。 在UnigineEditor中,打开控制台并检查Render部分中提供的信息:

注意
If FSR 2 is not available, the corresponding message will be shown in the console.如果FSR2是不可用,相应的消息将显示在控制台中。

To use FSR 2 for the scene, enable it in one of the following ways and specify settings:要在场景中使用FSR2,请通过以下方式之一启用它并指定设置:

Settings of Upscalers
升频器的设置#

Depending on the current upscale mode, the set of settings differs. Please refer to the Upscalers article.根据当前的高档模式,设置集不同。 请参阅Upscalers文章。

When to Apply Upscaling
何时申请升级#

By default, upscaling is applied before all post-processing effects are rendered. However, you can choose to apply upscaling after rendering the post-process effects.默认情况下,在渲染所有后处理效果之前应用放大。 但是,您可以选择渲染后处理效果之后应用放大。

It can be done via the console using the render_upscale_post command or in UnigineEditor by toggling the Upscale After Post Effects parameter.它可以通过控制台使用render_upscale_post命令或在UnigineEditor中通过切换Upscale After Post Effects参数来完成。

FSR Contexts
FSR上下文#

A context is a single call per upscaling operation. The number of contexts that can be upscaled with FSR 2 is limited and can defined by the fsr_max_contexts console command. The recommended number of contexts is 8. Specifying the number of contexts is necessary when rendering into multiple viewports: the number of the viewports must correspond to the number of contexts.一个上下文是每个扩展操作的单个调用。 可以使用FSR2升频的上下文的数量是有限的,可以由fsr_max_contexts控制台命令定义。 推荐的上下文数为8。 在呈现到多个视口时,指定上下文的数量是必要的:视口的数量必须与上下文的数量相对应。

本页面上的信息适用于 UNIGINE 2.19.1 SDK.

最新更新: 2025-07-16
Build: ()