Cycles : Correct tagging of tangent primitive variables to allow normal maps to render properly. #5269
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Generally describe what this PR will do, and why it is needed
MeshTangents
node for a given UV, and name it with the name of the UV with.tangent
on the end eg.uv.tangent
.tangent_sign
on the end eg.uv.tangent_sign
(I usePrimitiveVariables
+ResamplePrimitiveVariables
nodes)cyclesImageTexture
into acyclesNormalMap
node, and plug that into acyclesPrincipledShader
'snormal
socket.I am not sure exactly on the specifics of
tangent_sign
but it is needed for it to render.Related issues
Dependencies
Breaking changes
Checklist
Todo: Get the proper MikkTSpace code into place again, now that it is bundled with Cycles 3.5 and have it implicitly be created in the absence of tangent and tangent_sign primitive variables. This will be targetting for Gaffer 1.3.x probably.