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"

Get Normal Maps in Post Processing Material

We are making an outline material that factors in the depth of the scene, drawing black lines around Geometry with a varied depth from the camera. This primary works around the edge of a mesh, but also works across the surface of the mesh where Geo changes depth, as it should.

However, we want to factor in the Normal maps to achieve more detail. Of course this would involve getting the blue channel from every normal map in the scene. For some reason the Scene Texture node does not include normal maps, even though it includes everything else.

How would we get the scene's normal map data and introduce it to the Post Processing Material?

Product Version: UE 4.20
Tags:
more ▼

asked May 09 '19 at 01:37 PM in Rendering

avatar image

Raxs_Slayer
173 8 16 19

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

2 answers: sort voted first

SceneTexture:WorldNormal Contains that.

more ▼

answered May 15 '19 at 09:40 PM

avatar image

Deathrey
7.9k 130 31 293

avatar image Raxs_Slayer May 16 '19 at 09:31 AM

Thanks for the reply. But this doesn't seem right. It looks like its the different kind of normals that shows the direction that each pixel is facing. I just want access to the Normal maps of all the materials. The world normals just show top facing pixels, rather than the normal maps applied to each object.

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

That is correct. The scene texture is showing the world normals because that is what the camera sees and what the renderer uses to render the final image. It can be used for the edge detection without a problem. Check the tutorial from Epic: https://www.youtube.com/watch?v=cQw1CL0xYBE

more ▼

answered May 16 '19 at 12:02 PM

avatar image

Caroo
133 1 3 4

avatar image Raxs_Slayer May 16 '19 at 12:04 PM

Fair enough, I will give this a try.

(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