armory3d/armory

Normal mapping results in artifacts when both mesh batching and precompute tangents options are enabled

QuantumCoderQC opened this issue · 0 comments

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:
image

The meshes share the following material setup:
image

Either/ both options disabled Both options enabled
Correct: image Incorrect: image

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