Virtual Resolution sampling?
- beanluv
- Topic Author
(For context about my request, open the spoiler below.)
I have a (hopefully) small request. Could somebody edit the shader so its sampling is nearest neighbor?
Shader: www.dropbox.com/s/jo9nsw5wb19nghy/VirtualResolution.fx?dl=0
Please Log in or Create an account to join the conversation.
- Matt Gore
Please Log in or Create an account to join the conversation.
- beanluv
- Topic Author
Okay, so I tried adding it in through both the UI and the preset file, and nothing's really changed.Matt Gore wrote: Well, the shader already supports that. Just add VIRTUAL_RESOLUTION_DOWNFILTER=POINT to your PreprocessorDefinitions.
Here's what I'm trying to do:
Please Log in or Create an account to join the conversation.
- Matt Gore
So the game already scales the image the way you like, no reason to use shaders. Unless you would rather use bilinear:
Please Log in or Create an account to join the conversation.
- beanluv
- Topic Author
Matt Gore wrote: Well, all three images are identical and use nearest neighbor
So the game already scales the image the way you like, no reason to use shaders. Unless you would rather use bilinear:
Actually, if you look at the user display at the top for each screenshot, their positioning is somewhat different, not to mention the third one's user display is kinda blurry.
Please Log in or Create an account to join the conversation.
- Matt Gore
Btw, ReShade comes with a HQ4X shader, this is probably the best method.
Please Log in or Create an account to join the conversation.
- beanluv
- Topic Author
Matt Gore wrote: Ah ok, I didn't look there. It seems to be shifted by one pixel compared to the rest and will get blurry because of the linear scaling. I don't know why the preprocessor definition isn't working but you can also just change line 8 to: #define VIRTUAL_RESOLUTION_DOWNFILTER POINT
Btw, ReShade comes with a HQ4X shader, this is probably the best method.
It didn't change anything. I did however notice that offsetting the width and height by one pixel makes the blurry pixels look normal while everything else is the opposite. I also had already changed line 8, and it didn't change anything.
As for the HQ4X shader, what settings do you recommend?
Please Log in or Create an account to join the conversation.
- Matt Gore
beanluv wrote: As for the HQ4X shader, what settings do you recommend?
Sorry, I only know of its existence but don't have any games to use it x)
Please Log in or Create an account to join the conversation.
- beanluv
- Topic Author
Please Log in or Create an account to join the conversation.