Get Normal Maps of a scene
- Cypher
- Topic Author
Less
More
Hi
Is there any way to get the normal map of a scene just like the depth map?
Something like this:
Thanks
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
Less
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
Less
More
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):
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
Less
More
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
Less
More
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.