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"

Bilateral Filtering using Material Script


I am new to UE4 and I am working on a project that is tring to use a depth camera into Unreal engine 4.10. Now I need to filter a raw depth image using bilateral filtering on GPU. The first thing came to my mind is the material blueprint script. Since bilateral filtering requires two passes and I hope this can be done in one frame. In directx11, I can submit two draw calls to GPU to get this done. But in the unreal, I cannot find a way to accomplish this purpose in one frame. I can use the dynamic material of Unreal, but it requires two frames to finish the bilateral filtering. So basically, I need to get the rendertarget of the first pass in the material blueprint script and then use this as the source for the next pass, and finally, bind the result to a material and apply this material to a mesh.

If anyone can give me some clues or provide any related tutorials or comments, I will appreciate that.



Product Version: UE 4.10
more ▼

asked Jan 26 '16 at 09:28 PM in Blueprint Scripting

avatar image

6 2 3 5

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

1 answer: sort voted first

I am working on a bilateral filter with the help of ue4 community. The early phase via pos process can be found under https://forums.unrealengine.com/showthread.php?51243-Gaussian-blur-post-processing-material

I am aiming to make it a non post process and then share it in community. You can contribute as well

more ▼

answered Mar 02 '16 at 04:56 PM

avatar image

357 17 20 31

(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