#DLSS Mod
29 messages · Page 1 of 1 (latest)
The forums are for mod support not making mods
yes I know (but there should be)
Thats why we have #💻┃mod-making¹ and #💻┃mod-making²
But its not in forum format
Thats fine
Hi there
1- Look for a open source c# inference library
2 - save the final render with a command buffer CameraEvent.AfterEverything or change camera targettexture, or uses graphics blit to copy null to your render texture
3 - throw the render texture to the inference lib
4 - get the upscaled texture
5 - use graphic.blit(upscaled texture, null) to put the upscaled texture as final image
Wdym by find open source c# inference library, can you elaborate a little more please?
Also could you share the source of that AI processed gameplay you shared?
Very cool stuff
i dont think i can elaborate more, like it is just that. You will need to take a look in what is AI inference, and how to run a upscale AI model inference
Would that be specific to DLSS or some open source upscaling model?
all upscaling methods are just AI models (including FSR, DLSS, everyone), if you want to upscale a image, you will run the AI model inference over the image, thats how it works
so a inference lib is a tool to help you running any model inference
with that, you can run any model using the same code
upscaling models are a type of ai called convolutional neural network (CNN)
What inference library should I use though? I wouldn’t know what to look for when trying to find one. Just C# obviously but how do I make it work with the game also… idk
basically you will want the .dll of the lib and link within your mod.
so you can just use the classes/functions of the library inside your mod
i dont know which library you should use because i never did this in c#, i made very big projects that runs inference in c++ but never c#
you will need to search by yourself at google: "C# ai inference lib"
use the more famous that appears
If i could like bridge with another language in c# that seems more feasible because i couldnt find anything
Like c# binding for a c++ inference library
you could "bridge" by using an wrapper lib, this is common for big known libraries
I guess that’s basically the same thing though nvm
Thats what I meant yeah
Forgot the terminology