Basic Image Overlay

  • Sh1nRa358
  • Topic Author
More
8 years 5 months ago - 8 years 5 months ago #1 by Sh1nRa358 Basic Image Overlay was created by Sh1nRa358
////--------------//
///**Basic Image Overlay**///
//--------------////
#define USE_Overlay 1 

//>Overlay Settings<\\
#define Overlay_size_1 1920x1080  //<----If resolution is this, then...
#define Overlay_texture_1 "Curtain.jpg" //[undef] //-Filename for the texture to use. Put your custom textures in *insert shader suite here*/Textures/  ////<------this texture is used if above rez is active
#define Overlay_Opacity_1a 150 // Adds transparency to the overall image
#define Overlay_OpacityHK_1a "hotkey here to use above opacity
#define Overlay_Opacity_1b 90 // Adds transparency to the overall image
#define Overlay_OpacityHK_1b "hotkey here to use above opacity
#define Overlay_Opacity_1c 75 // Adds transparency to the overall image
#define Overlay_OpacityHK_1c "hotkey here to use above opacity

#define Overlay_size_2 3840 × 2160  //<----If resolution is this, then...
#define Overlay_texture_2 "Curtain2.jpg" //[undef] //-Filename for the texture to use. Put your custom textures in *insert shader suite here*/Textures/  ////<------this texture is used if above rez is active
#define Overlay_Opacity_2a 150 // Adds transparency to the overall image
#define Overlay_OpacityHK_2a "hotkey here to use above opacity
#define Overlay_Opacity_2b 90 // Adds transparency to the overall image
#define Overlay_OpacityHK_2b "hotkey here to use above opacity
#define Overlay_Opacity_2c 75 // Adds transparency to the overall image
#define Overlay_OpacityHK_2c "hotkey here to use above opacity

#define Overlay_size_3 4096 × 2304  //<----If resolution is this, then...
#define Overlay_texture_3 "Curtain3.jpg" //[undef] //-Filename for the texture to use. Put your custom textures in *insert shader suite here*/Textures/  ////<------this texture is used if above rez is active
#define Overlay_Opacity_3a 150 // Adds transparency to the overall image
#define Overlay_OpacityHK_3a "hotkey here to use above opacity
#define Overlay_Opacity_3b 90 // Adds transparency to the overall image
#define Overlay_OpacityHK_3b "hotkey here to use above opacity
#define Overlay_Opacity_3c 75 // Adds transparency to the overall image
#define Overlay_OpacityHK_3c "hotkey here to use above opacity

#define Transition_ToggleKey RFX_ToggleKey //[undef] //-


Etc.


What this would do this detect the resolution and show the overlay that responds to what you want to show during that resolution. This could help in instances, for example, where you want perfect scanlines (because sweetfx scans are awful with the clumping). The correct pic will show depending on rez and therefore you would experience no more clumping.

Or it can also be used to just put your video game channel icon on your vids without having to recode.

Or it can be used to easily add your own creative effect through a picture if you have no knowledge on coding it the shader way.


Can one implement this please? I've created something like this myself through AHK but the window must be in window mode for it to work. Since reshade injects into anything, that would no longer be a problem. Thanks in advance.

*Default behavior would be to stretch the image to cover the full area*

EDIT: I apologize, I didn't see this at first: reshade.me/forum/shader-suggestions/744-...ng-image-onto-screen
But yeah, can this be added with the features I proposed?
Last edit: 8 years 5 months ago by Sh1nRa358.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.