GithubHelp home page GithubHelp logo

DLSS 3.7: Alpha Upscaling flag about dlsstweaks HOT 9 OPEN

emoose avatar emoose commented on September 27, 2024 2
DLSS 3.7: Alpha Upscaling flag

from dlsstweaks.

Comments (9)

emoose avatar emoose commented on September 27, 2024 4

If anyone wants to test it here's a build that includes OverrideAlphaUpscaling in the INI:
DLSSTweaks-0.200.9.0-beta1.zip

You should be able to set the UE postprocessing cvar for RGBA by editing Engine.ini file (usually somewhere inside %APPDATA%), adding this to bottom of it should usually work:

[SystemSettings]
r.PostProcessing.PropagateAlpha=1

With that & OverrideAlphaUpscaling = 1 in DLSSTweaks.ini it should be active, I don't have any UE games installed atm so haven't tried it myself though, if you try it let us know how it goes.

Will probably be a 10-25% FPS hit like the DLSS readme mentioned, if you have the UE console unlocked it might be worth comparing r.PostProcessing.PropagateAlpha 0 vs r.PostProcessing.PropagateAlpha 1 during gameplay, sounds like changing that should change between RGB/RGBA, maybe will be able to notice some IQ difference with it (hopefully some improvement around transparencies?)

UE4SS can usually unlock dev console in most UE games: https://github.com/UE4SS-RE/RE-UE4SS/releases

from dlsstweaks.

doktorsleepelss avatar doktorsleepelss commented on September 27, 2024 1

Just tested it in Talos Principles 2. I just get a ton of flickering on foliage and even on flat stone surfaces.

EDIT: Also lots of flickering in Remnant 2.

EDIT 2" Can't say I notice anything different with Hogwards and GhostRunner 2.

EDIT 3: Nothing happening in in Immortals of Avium.

from dlsstweaks.

Klemci avatar Klemci commented on September 27, 2024

This feature should be used only if the alpha channel of the color texture needs to be upscaled (if eFalse, only RGB channels will be upscaled).

Which games compatible (ALPHA thingie) ?
That's the first question to answer before testings, right ?

from dlsstweaks.

doktorsleepelss avatar doktorsleepelss commented on September 27, 2024

From the dlss programming guide

3.16 Alpha Upscaling Support
By default, DLSS is intended for 3-channel RGB images, only. Experimental support for upscaling 4-
channel RGBA images can be enabled by setting the NVSDK_NGX_DLSS_Feature_Flags_AlphaUpscaling
flag at creation time. For best results, the RGB color should be premultiplied by alpha in the color input.
Note: performance will be impacted by enabling this feature. Expect the overall execution time of DLSS
to increase by 15-25% when alpha blending is enabled.

I don't know what any of this means and how we would benefit, but I want.

from dlsstweaks.

Klemci avatar Klemci commented on September 27, 2024

@doktorsleepelss
Alpha is transparency (tree foliage...), with DLSS it's like a DLAA version of SGSSAA.

from dlsstweaks.

emoose avatar emoose commented on September 27, 2024

Which games compatible (ALPHA thingie) ?
That's the first question to answer before testings, right ?

Just noticed inside NvRTX repo readme:

r.NGX.DLSS.EnableAlphaUpscaling (false, default)

Alpha channel upscaling
0: off
1: on
Note r.PostProcessing.PropagateAlpha MUST be enabled for this feature to work.

From the code in that repo it looks like r.NGX.DLSS.EnableAlphaUpscaling just causes the NVSDK_NGX_DLSS_Feature_Flags_AlphaUpscaling flag mentioned in OP to be set, doesn't seem to make any difference to UE's rendering.

Might mean we could try forcing that flag with existing UE games, as long as r.PostProcessing.PropagateAlpha is set like the readme mentions, and hopefully will let it work properly - will look into adding a override for it to DLSSTweaks soon.

Other than that I'm not really sure how to check if a game might work with the alpha upscaling, maybe something like RenderDoc could tell us if final output is using RGBA?

from dlsstweaks.

Lewison78 avatar Lewison78 commented on September 27, 2024

Do you know if its possible to get it working with other game engines? Or is it only available in UE games?

from dlsstweaks.

SplitCoreGaming avatar SplitCoreGaming commented on September 27, 2024

Do you know if its possible to get it working with other game engines? Or is it only available in UE games?

I been messing with it on Elder Scrolls Online with no luck. However the baseini setting is great as I do bounce between E/C depending on games. I also use symbolic links so still nice to have main file E / Override Preset C > Symbolic link setup. with only main parts changed.

*Or not. For example in BG3 the Hud override works, but preset C is not applied over the main files E. Weird.
**Further further update. GlobalForcedPreset overrides the secondary ini files preset setting. Turned global off, got it working great now.

from dlsstweaks.

jpgsantos avatar jpgsantos commented on September 27, 2024

It seems to work natively in hogwarts legacy(without "[SystemSettings] r.PostProcessing.PropagateAlpha=1"), atleast the image is diferent with it active, but the performance is more or less the same or even slightly improved. Strange so far.

from dlsstweaks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.