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"

Changing texture filtering at runtime?

Is it possible to change texture filtering at runtime? Ideally I'd like to control it via material parameters or a global rendering option (I'd be shocked if one existed), but BP or C++ would be fine if those aren't possible. I've tried in BP by getting a texture parameter, changing the filter type, and setting the texture parameter on the MID, but this seemed to have no effect.

Product Version: UE 4.21
more ▼

asked Jan 10 '19 at 02:56 AM in Rendering

avatar image

16 3 6 9

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

1 answer: sort voted first

You can sample your texture in a custom code node and use any of pre-defined sampler states, thus controlling the way it is filtered.

more ▼

answered Jan 10 '19 at 09:48 AM

avatar image

7.8k 130 31 293

avatar image Tain Jan 10 '19 at 03:30 PM

Is there a reference for these sampler states anywhere? I'm not very familiar with HLSL and have had trouble finding examples of this.

(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