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?
asked May 09 '19 at 01:37 PM in Rendering
SceneTexture:WorldNormal Contains that.
answered May 15 '19 at 09:40 PM
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
answered May 16 '19 at 12:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here