x

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"

Perspective transform in material editor

Hey guys. I was wondering if there's anyway to perform a perspective transform or warp on an image, as in manipulating it's UVs this way. I intend to apply this to a screen space mapped texture, to transform the angle it appears at.

I've performed the effect here in Paint.NET to show what I'm trying to achieve.

alt text

I don't know if any of you will have a solution but it's worth a try, any help will be greatly appreciated.

Product Version: UE 4.16
Tags:
perspectivewarp.jpg (198.7 kB)
more ▼

asked Jul 17 '17 at 02:49 PM in Rendering

michael93 gravatar image

michael93
90 2 5

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

This is possible to accomplish. However it is very difficult to generate on the fly. You can create a custom UV to create that perspective in some external program, but that would be a static UV.

I suggest you buy the FX and UI Functions pack, its very cheap and comes with lots of new custom material functions. Specifically it comes with a great Perspective Function that you can use to make UVs on the fly to do this.

more ▼

answered Jul 17 '17 at 06:41 PM

BenVlodgi gravatar image

BenVlodgi
690 22 5 22

michael93 gravatar image michael93 Jul 18 '17 at 08:18 AM

Thanks for the suggestion, I'll have a look. The UVs need to be manipulated based on camera position, so I doing it externally isn't really an option. I was looking at creating a seperate refraction system because the built in system wouldn't work properly for my application so it'd have to be on the fly. Just an idea. Thanks for taking the time to answer

BenVlodgi gravatar image BenVlodgi Jul 18 '17 at 10:35 PM

No problem, happy to help.

You may also then be interested in this example content for fake depth. Witcher 3 inspired portal

(comments are locked)
10|2000 characters needed characters left
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