Welcome, Guest.
Username: Password: Remember me

TOPIC: Get Normal Maps of a scene

Get Normal Maps of a scene 5 months 2 weeks ago #1

Hi

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

Something like this:



Thanks
The administrator has disabled public write access.

Get Normal Maps of a scene 5 months 1 week ago #2

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).
Cheers, crosire =)
Last Edit: 5 months 1 week ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: Wicked Sick, Cypher

Get Normal Maps of a scene 5 months 1 week ago #3

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):



The administrator has disabled public write access.

Get Normal Maps of a scene 4 months 3 weeks ago #4

Because that's the AO channel. That's how SSAO looks like.
The administrator has disabled public write access.
The following user(s) said Thank You: Cypher

Get Normal Maps of a scene 4 months 1 week ago #5

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...
The administrator has disabled public write access.