armory
armory copied to clipboard
Normal mapping results in artifacts when both mesh batching and precompute tangents options are enabled
Description
When both Batch Meshes
and Precompute Tangents
options are enabled, strange artefacts appear on the rendered mesh.
For example, consider a 2 X 2 arrangement of 4 identical grid mesh objects:
The meshes share the following material setup:
Either/ both options disabled | Both options enabled |
---|---|
Correct: ![]() |
Incorrect: ![]() |
Also, this issue does not happen if all the objects share the same mesh data (like linked duplicates).
To Reproduce Run the provided blend file.
System Blender: 3.3 LTS Armory: SDK 2023.4 OS: Windows 10 Graphics card: Nvdia 2030
Test File Mesh Batch Normal Mapping Tangents.zip