Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Depth output to Normal Map node #544

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

myaaaaaaaaa
Copy link
Contributor

Adds a "Depth" output whose scale is linked to the strength of the normal map, to streamline height-only workflows.

Intended usage:
1666807922

The Normal Map node being proposed by this pull request:
1666808881

@RodZill4
Copy link
Owner

It's a neat trick, but multiplying depth might be a bad idea for high values of Strength. If anything, I'd remove the multiplier node. Correlation between normal map and height map depends on the model anyway.

@myaaaaaaaaa
Copy link
Contributor Author

Thanks for the feedback! The idea is that the exact ratio between normal and depth can be adjusted with the material's depth_scale parameter, which can be set once based on the model's uv scale. Afterwards, the Strength parameter would be used to tweak heightmap scale with correct normals automatically applied, which I find especially useful for quick experimenting.

Workflows where normal and depth are less correlated would of course calculate depth from height themselves, and would not use this new Depth output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants