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

WZ4 Question: Yellow ops do not support Normal maps? #59

Closed
Skinnytorus opened this issue Jul 8, 2012 · 3 comments
Closed

WZ4 Question: Yellow ops do not support Normal maps? #59

Skinnytorus opened this issue Jul 8, 2012 · 3 comments

Comments

@Skinnytorus
Copy link

Hi,
I was experimenting with a simple ocean simulation and faced an unexpected problem: BlowNoise op doesn't show normal maps. I checked further and saw that all yellow ops with a mod material on input omit normal maps on output.

So, I just wanna know if this is a bug or a deliberate trick to avoid extra system load? And I wonder if it's possible to enable (or force?) normal maps for the yellow ops in the source code? Thank you.

@rygorous
Copy link
Contributor

Sorry for taking a while to answer.

This is neither a bug nor a trick to reduce system load (for all practical purposes, normal maps are basically free these days). We use tangent-space normal mapping, which requires tangent-space basis vectors per vertex. The vertex format used in BlowNoise (and several other ops) only has a normal, not a tangent vector, and hence doesn't support normal mapping.

This is fixable, but it requires changes to the code that are a bit more substantial than simply toggling a flag. I'll add it for BlowNoise, any other ops where you want this?

@rygorous
Copy link
Contributor

Okay, it's in. I'll close this bug, just open new issues for any other ops where you want this :)

@Skinnytorus
Copy link
Author

Yey! Many thanks for that!

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

No branches or pull requests

2 participants