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"

??How to Blur a TextureParameter??

Is there any way to blur a texture parameter in material editor? I know that spiral blur can blur TextureObjects. But I need my texture to be a parameter but that can not be plugged into the sprial blur node :(

alt text

Product Version: UE 4.20
nowork.jpg (152.2 kB)
more ▼

asked Dec 25 '18 at 07:03 PM in Rendering

avatar image

31 2 7 9

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

2 answers: sort voted first

SpiralBlur function requires TextureObject to sample from, but if you want to change it in material instance, you can copy all the nodes from that function into material itself.

And I want to ask you - are you sure you need spiral blur? You can also blur texture with custom hlsl code.

more ▼

answered Dec 25 '18 at 08:27 PM

avatar image

4.2k 80 16 103

avatar image marvelmaster Dec 26 '18 at 01:39 PM

This does not work because inside spiral blur is already custom hlsl code :( And the "Tex" does only read texture object and I Dont know how to solve this.

alt text

I now ended up with sampling my texture by a specific offset. If anybody knows how to write this in hlsl code please tell me.

alt text

and the result if following

alt text

offset.jpg (289.0 kB)
result.jpg (113.5 kB)
code.jpg (292.0 kB)
(comments are locked)
10|2000 characters needed characters left

try making a material function with a texture sample parameter in it to use instead of the TextureObject

more ▼

answered Dec 27 '18 at 02:12 AM

avatar image

King Mango
76 2 4 3

(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