Page MenuHome

The viewport artifacts associated with the use of normal maps.
Closed, ResolvedPublic

Description

System Information
Ubuntu 14.04.3 LTS

Blender Version
Broken: 2.76 rc2
Worked: 2.75a

Short description of error

  1. Open the attached file
  2. Press Tab to switch into edit mode and backwards several times. See shading artifacts during switching.
  3. In the Geometry node remove UV_01 uvmap. The artifacts will disappear.
  4. In the Texture tab uncheck "beer_column_norm" texture. The artifacts will be removed with the normal map.

Quite a lot of blend4web samples have these unwelcome artifacts in 2.76rc2. So this is very important for us that this bug will be fixed.

Event Timeline

Alexander Romanov (a.romanov) raised the priority of this task from to Needs Triage by Developer.
Bastien Montagne (mont29) triaged this task as Needs Information from User priority.

Cannot reproduce any artifact here with latest master (debian64 testing, nvidia 850m, 340 drivers).

Please state your precise GPU & driver versions, and you can also try to start in software OpenGL mode (use the blender-softwaregl distributed with official blender, will be slow, but will show whether this is a driver issue or not).

GeForce GTX 780
NVIDIA driver version: 352.30

blender-softwaregl crashes:
/tmp/blender.crash.txt:

Blender 2.76 (sub 0), Commit date: 2015-09-23 14:02, Hash e24ea81

backtrace

./blender(BLI_system_backtrace+0x1d) [0x1a3d97d]
./blender() [0x10563b4]
./blender() [0x1056591]

Can you make a screenshot of those artifacts, please?

With the help of "git bisect" I found that 2ec00ea0c1be1ace7cd0c7b68e43cc8e87dd07c7 is the reason.
And in this commit I see the crash.
Artifact:

I also see same artifacts with an nvidia titan black nvidia driver 355.11.

I confirm that it appears if same UVmap is precised twice.
No problem if UVmap name is set once into Geometry node for AO Texture or into Mapping panel of Texture Tab for normalmap and the other fieldname is blank.
All is black if both fieldnames are blank.

If a second UVmap , copy of first is made and a different UVmap is precise for AO texture and normalmap.
Display is correct.

Bastien Montagne (mont29) raised the priority of this task from Needs Information from User to Normal.

Fixed, there was a copy-pasted line of code that shouldn't have been there, accessing uninitialized memory.