Page MenuHome

Auto Smooth produce shadow (shading) problems
Closed, ResolvedPublic

Description

System Information
Windows 7 64, HD 5770

Blender Version
Broken: 9337574 (2.71 release) + 35bc266

Short description of error
Shadows or materials or shading in Game Engine tend to have problems if Auto Smooth is activated.
The problems only seem to occur when the mesh object have minimum 2 material slots assigned and a modifier enabled.

I think all Generate modifiers can be used.

Exact steps for others to reproduce the error

  • Add a Lamp>Sun
    • Rotate it Y90° or how you like.
  • Add a Cube.
    • Give it a Array modifier > Arrays 3 or more.
    • Go to Properties>Object Data>Normals: enable Auto Smooth.
    • Give it 2 Materials and assign them both on Cubes faces.
  • Press P to start the Game Engine.

Problem: There are random dark and bright faces on the geometry.

Event Timeline

Karja Krähwald (karja) raised the priority of this task from to 90.
Karja Krähwald (karja) updated the task description. (Show Details)
Karja Krähwald (karja) edited a custom field.

The issue is that support for the Blender autosmooth option has never been developed, so you will not see the results in the game.

To get the sharp edges, you can use an edge-split modifier, if that gives you problems, then apply it.

Ok thanks. But if so, the option should be removed from BG Interface and blocked somehow on game start.
Could be confusing if you dont know where these shading issues come from.

I have no idea, shading and materials is not my alley :)

This problem seems very similar to T41862.
It produces the exact same shading like in this case, so i guess its not only game engine related.

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.EditedSep 18 2014, 7:38 AM

@Karja Krähwald (karja), yep, these in fact were the same bugs,
fixed rB3c28eecb6e66.

@Adam Friesen (ace_dragon) - note, this is a recent development. it now works in the BGE.