Flat shading bug when normalmap is used

Project:YafaRay
Component:YafaRay Core
Category:bug report
Priority:normal
Assigned:Olaf
Status:closed
Description

In some cases when a normal map is assigned to the material, the faces of the object become flat shaded. The normal map in the below example scene is assigned to bump chanel and "use as normal map" is checked.

Normal map enabled, polygons become flat shaded:

Normal map disabled (used as a bump map), shading returns smooth:

AttachmentSize
mars-test.zip606.26 KB

Comments

#1

Version:»
Assigned to:Anonymous» Olaf
Status:active» fixed

Fixed in current Core code of yafaray -> commit:

https://github.com/YafaRay/Core/commit/54474fdce2aa9591809b8dc394e811621...

 

Bye, Olaf.

#2

Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.