Postprocess material screws viewport aspect ratio

Hello!

     As seen above when I use the material posted in the link below, the viewport becomes stretched and squeezed. Editing the UV tiling in Texcoord node helps but not sure it that'a good solution.

https://forums.unrealengine.com/community/community-content-tools-and-tutorials/1468298-material-effect-collection

If anyone knows what’s up, please enlighten!

Thanks
T

I’ve randomly had this issue as well and have solved it, but I can’t remember how. I will dig around to see if I can remember how and update if I find it.

Hey, I found this: Why is my texture clipped in post process material - Asset Creation - Unreal Engine Forums

Hope it helps.

It’s an issue tied to the screen percentage settings, which means it’s a difference in the viewport and buffer sizes. There seems to be a bug that happens when you play with the resolution scales where it will permanently get stuck in clipped views like that until you restart the whole editor.

1 Like

It seemed like it’d do the trick but neither of those solutions work… They had no affect at all …:frowning:

I’ve restarted many times. No difference.

For me it works everytime I restart UE. But if I press F11 or going full screen and going back, I get the squeezed version.
Tried to play with values and the UVs but no solution. Any new ideas?

I also have this on just one of my pp material, restart fixes it but as soon as I resize any viewport or window it messes up. Problem not on 4.18 or below. Will DL and check 4.20 tonight.

Did anyone have any luck making this problem go away?

How are you getting the UV etc?

Is it any different that what I did here? https://forums.unrealengine.com/development-discussion/rendering/1449167-sharper-image-without-the-edge-artifacts

Yeah hallatore’s method fixed it on .19 and .20

It DID! Thanks Hallatore. Also your sharpen pp is greato! :slight_smile:

Good call! The GetSceneTextureUV(Parameters) custom node solves it easier than the method that I remember having to use.