Help creating a mask for Left 4 Dead 2

  • Posts: 504
5 years 1 month ago - 4 years 9 months ago #1 by Wicked Sick
So, I was trying to create a mask for a game called Left 4 Dead 2.

I tried with this: dl.dropboxusercontent.com/u/82397753/RFX_uiMask.png

Then I used the same image, but without the transparency, with a white background instead and got the same result.

I didn't get the yellow message saying that it failed to load the texture. The game booted just fine, it also compiled ok. But is like the mask told ReShade to avoid applying its effects across the entire screen and not only where is black in the image.

So, how do I do that?

I went in a search before posting this, I was looking here: reshade.me/forum/shader-presentation/161...hread?start=240#2456

But I had to create a topic for this. Sorry about it. Searching for "mask" brought a lot of results from the Gaussian xD

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

  • Posts: 790
5 years 1 month ago - 4 years 9 months ago #2 by Ganossa
If you are looking for the Framework solution,

3.1 in reshade.me/forum/shader-discussion/393-tutorial-for-users

Explains how to use it.
If your are using it already, you might want to set the "direct" value to 0 so the texture is loaded from disk and not memory as described in the tutorial above :)
The following user(s) said Thank You: Wicked Sick

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

  • Posts: 504
5 years 1 month ago - 5 years 1 month ago #3 by Wicked Sick
THANKS!!! In my haste, I had completely forgotten about the tutorial hahaha I am really sorry about that. I am going to read it right now.

EDIT:

Just to say that it worked lol All I had to do was to read =p In the GUI you made was written there "0 = Disk; 1 = Memory" Just changing this and I was all done. Great, wonderful haha

Since I am here, I'd like to ask just one more thing, if you don't mind.

The other examples in there, RFX_sMask.png and RFX_bMask.png. When would be a good time to use them to make a mask of my own? I am asking because I started to wonder about letter in their names, S and B in lower case.

The one I used was called "RFX_uiMask.png", the ui, was my guide in there. Could you tell about these others?

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

  • Posts: 790
5 years 1 month ago #4 by Ganossa
RFX_sMask.png is a mask for the split screen shader (so you can define how the screen is split)
and RFX_bMask.png is a mask for the border shader (so you can define how the black border is drawn)
The following user(s) said Thank You: Wicked Sick

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

  • Posts: 504
5 years 1 month ago #5 by Wicked Sick
Ah yes, thank you, Lucifer.

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