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"

UV mapping from Flipbook frame

I posted a broader question in the unreal engine forums here, but a more focused question seems appropriate for answerhub.

I'm trying to create my own dithering pattern for the opacity mask of an opaque material. I also want to be able to switch between different patterns quickly (as in, frame animation).

My first test was to use a single texture, UV map it using screen-based UVs and tile it up the appropriate amount of times on U and V, and pipe it into the opacity mask. This all worked perfectly using this texture:

alt text

I then created the following sprite sheet for the individual frames of the dithering stages:

alt text

I tried using the flipbook function in my material, but the problem I keep having is that I can't adjust the UV tiling after I have sampled an individual frame of the animation. That is, I can't retrieve an individual frame of the flipbook, THEN UV map that tiling across the screen...

Any thoughts are appreciated.

Thanks!

Product Version: UE 4.9
Tags:
more ▼

asked Sep 22 '15 at 06:02 PM in Rendering

avatar image

Pucho1982
1

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

1 answer: sort voted first

I'm currently having the same issue, I'm using animated tiling textures for some of my environments. If anyone knows of a solution if you post i link that would be greatly appreciated.

more ▼

answered Oct 15 '15 at 03:19 AM

avatar image

StormAndy
6 1 1 2

(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