Get Normal Maps of a scene

  • Cypher
  • Topic Author
More
5 years 10 months ago #1 by Cypher Get Normal Maps of a scene was created by Cypher
Hi

Is there any way to get the normal map of a scene just like the depth map?

Something like this:



Thanks

Please Log in or Create an account to join the conversation.

  • crosire
More
5 years 10 months ago - 5 years 10 months ago #2 by crosire Replied by crosire on topic Get Normal Maps of a scene
It's easy to derive screen space normals from depth data. MXAO does this for instance ( github.com/crosire/reshade-shaders/blob/master/Shaders/MXAO.fx ). But all of that is screen space, not world space, so they aren't stable if you move (but still useful for some algorithms).
Last edit: 5 years 10 months ago by crosire.
The following user(s) said Thank You: Wicked Sick, Cypher

Please Log in or Create an account to join the conversation.

  • Cypher
  • Topic Author
More
5 years 10 months ago #3 by Cypher Replied by Cypher on topic Get Normal Maps of a scene
Thanks for the suggestion.
I tried modifying MXAO for extracting Normals like the image in the first post but ended up with these which are semantically wrong (They don't show the direction of surfaces in different colors):



Please Log in or Create an account to join the conversation.

  • Marty McFly
More
5 years 9 months ago #4 by Marty McFly Replied by Marty McFly on topic Get Normal Maps of a scene
Because that's the AO channel. That's how SSAO looks like.
The following user(s) said Thank You: Cypher

Please Log in or Create an account to join the conversation.

  • Cypher
  • Topic Author
More
5 years 9 months ago #5 by Cypher Replied by Cypher on topic Get Normal Maps of a scene
Thanks... Is there any way I could get the Normal Maps? I have barely programmed Shaders before but if its possible then I just need a little guide on where to start... I was actually hoping that there might be a Reshade Filter for that already...

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.