Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

why is my texture clipped in post process material

I am noticing an odd issue that hopefully someone can shed light on.

I am trying to use a texture within a post-process material. I imported the following texture into Unreal Engine which is a 1024x786 png image alt text

However when I used the texture within a post-process material and view it in a render target I notice that the image is clipped / shifted by a bit. Why is this happening? What can I do to rectify it?

Here's the post process material I created to simply connect the texture to the emissive alt text

and here's the odd result I see in the Render Target 2D that receives the post-processed material (which is also 1024

alt text Notice the right side of the image getting cropped somehow out of the frame. How do I avoid this? Is it a bug?

Product Version: UE 4.8
mypeppers.png (822.1 kB)
ppmat.png (64.1 kB)
clipped image.png (395.7 kB)
more ▼

asked Jan 15 '16 at 04:18 PM in Rendering

avatar image

16 2 3 9

avatar image AJMW Feb 08 '16 at 05:16 PM


Can anyone please help out? I am still stuck and waiting for some hints to move forward.

Regards, Arvind

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Finally, found the issue. The default UV Coordinates are the UV coordinates for the ViewSize which "may not" be the coordinates needed from the texture. So a simple UV scaling operation like the one shown below yields the expected result in the scene render target. Perhaps this could be made a bit more clear in the documentation of UE.

alt text

more ▼

answered Mar 04 '16 at 07:59 PM

avatar image

16 2 3 9

avatar image sds-michael Jul 03 '17 at 01:31 AM

Thanks very much for posting the solution! This saved me some time, tested and working in UE4.15.2. I agree, it would be great if this was mentioned in the documentation for Post Process Materials.

avatar image BingoBongo Apr 25 '18 at 10:08 PM

this is just stupid bug! actual solution for UE4.18. alt text

ppm-sol.jpg (92.6 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question