Prevent ReShade from rendering to part of screen
- Alexandra
- Topic Author
Less
More
9 years 3 months ago #1
by Alexandra
Prevent ReShade from rendering to part of screen was created by Alexandra
I've been playing 4:3 games with DOSBox Daum SVN (D3D output) and ReShade. Awesome that it works.
As you'd imagine, these games are all 4:3 rather than 16:9. Unfortunately, when using ReShade, the unused sides turn into a sort of "hall of mirrors" effect, like when a texture was missing in Doom. The welcome message, as I noted in another thread, never disappears because of this.
More importantly, some ReShade effects like Gaussian Anamflare can "bleed" into the black bars and set off hall of mirror explosions. Here's a several-second time-lapse after I enabled Gaussian Anamflare in Dark Forces . My preset looks really nice until that kicks in.
As a quick fix, is there a way we could prevent ReShade from addressing parts of the screen? Either precisely, or by telling it what aspect ratio to render to (4:3 in this case).
A precise option would also be helpful to screen out HUDs, which I imagine has been suggested before.
Thanks for this rad tool.
As you'd imagine, these games are all 4:3 rather than 16:9. Unfortunately, when using ReShade, the unused sides turn into a sort of "hall of mirrors" effect, like when a texture was missing in Doom. The welcome message, as I noted in another thread, never disappears because of this.
More importantly, some ReShade effects like Gaussian Anamflare can "bleed" into the black bars and set off hall of mirror explosions. Here's a several-second time-lapse after I enabled Gaussian Anamflare in Dark Forces . My preset looks really nice until that kicks in.
As a quick fix, is there a way we could prevent ReShade from addressing parts of the screen? Either precisely, or by telling it what aspect ratio to render to (4:3 in this case).
A precise option would also be helpful to screen out HUDs, which I imagine has been suggested before.
Thanks for this rad tool.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
9 years 3 months ago #2
by crosire
Replied by crosire on topic Prevent ReShade from rendering to part of screen
There is an "UIMask" effect in the ReShade framework, which lets you mask out specific parts of the screen and should do exactly what you want. Enable that shader and edit the "ReShade\BasicFX\Textures\uiMask.png" image so the left and right side are black and everything else is white.
The following user(s) said Thank You: Alexandra
Please Log in or Create an account to join the conversation.
- Alexandra
- Topic Author
Less
More
9 years 3 months ago - 9 years 3 months ago #3
by Alexandra
Replied by Alexandra on topic Prevent ReShade from rendering to part of screen
Ah, silly of me. Thanks much.
A few thoughts:
1) Switching from fullscreen (16:9 screen mode with aspect-correct 4:3 picture and black bars on sides) to windowed mode (just 4:3) means the 4:3 mask is no longer appropriate. It'd be interesting if one could make certain effects only apply to fullscreen or windowed mode, for cases like this.
2) In a half hour of trying different tricks I could not get the UIMask toggle hotkey to work.
3) Interestingly the welcome message continued to persist / hall-of-mirror itself on the left side even with UIMask active. No biggie. I don't suppose there's a shader that just throws up an image onto the screen, like the border shaders in RetroArch? That might make the glitchy text disappear.
4) Here is a very precise 1080p 4:3 mask.png if anyone would like it.
A few thoughts:
1) Switching from fullscreen (16:9 screen mode with aspect-correct 4:3 picture and black bars on sides) to windowed mode (just 4:3) means the 4:3 mask is no longer appropriate. It'd be interesting if one could make certain effects only apply to fullscreen or windowed mode, for cases like this.
2) In a half hour of trying different tricks I could not get the UIMask toggle hotkey to work.
3) Interestingly the welcome message continued to persist / hall-of-mirror itself on the left side even with UIMask active. No biggie. I don't suppose there's a shader that just throws up an image onto the screen, like the border shaders in RetroArch? That might make the glitchy text disappear.
4) Here is a very precise 1080p 4:3 mask.png if anyone would like it.
Last edit: 9 years 3 months ago by Alexandra.
Please Log in or Create an account to join the conversation.
- Ganossa
Less
More
9 years 3 months ago #4
by Ganossa
Replied by Ganossa on topic Prevent ReShade from rendering to part of screen
The text is rendered on top of all shader so it cannot effect the shader output and the other way around.
Did you get the UIMask working?
If not, you can read up about its handling here
reshade.me/forum/general-discussion/393-tutorial-for-users
Most of it is unfortunately not up to date anymore but check out point 3.1 for the UI Mask tutorial
Did you get the UIMask working?
If not, you can read up about its handling here
reshade.me/forum/general-discussion/393-tutorial-for-users
Most of it is unfortunately not up to date anymore but check out point 3.1 for the UI Mask tutorial
Please Log in or Create an account to join the conversation.
- daninthemix
Less
More
4 years 5 months ago #5
by daninthemix
Replied by daninthemix on topic Prevent ReShade from rendering to part of screen
It's a pity the UIMask doesn't mask 'ghosted' images of Reshade itself - particularly as you can't prevent the Reshade overlay from popping up on initial load. On some games, the overlay gets 'burned' into the 16:9 area even with UIMask.
Please Log in or Create an account to join the conversation.