Eevee: Using 16-bit TIF images for normal maps create strange shading #60583

Closed
opened 2019-01-17 01:40:25 +01:00 by Andrew Price · 11 comments

System Information
Operating system: Windows 10
Graphics card: GTX 1080ti

Blender Version
Broken: Blender2.8, 2019-01-14)
Worked: Blender 2.79

Short description of error
TIF files creates strange normal bumps

Exact steps for others to reproduce the error

  1. Create a plane and set material as a Principled Shader
  2. Use a TIF image as the normal map. The shading looks strange: blender_2019-01-17_10-29-55.png
  3. Swap it with a JPG normal map and it looks fine blender_2019-01-17_10-30-04.jpg

The same TIF file works correctly in Cycles, so I think it's isolated to Eevee.
8-bit TIFs work fine, just 16-bits are the problem. But since 16-bit TIFs are the industry standard for avoiding stepping in normal maps, this is fairly important.

Example blend: tif_normal_bug_packed.blend

**System Information** Operating system: Windows 10 Graphics card: GTX 1080ti **Blender Version** Broken: Blender2.8, 2019-01-14) Worked: Blender 2.79 **Short description of error** TIF files creates strange normal bumps **Exact steps for others to reproduce the error** 1. Create a plane and set material as a Principled Shader 2. Use a TIF image as the normal map. The shading looks strange: ![blender_2019-01-17_10-29-55.png](https://archive.blender.org/developer/F6311104/blender_2019-01-17_10-29-55.png) 3. Swap it with a JPG normal map and it looks fine ![blender_2019-01-17_10-30-04.jpg](https://archive.blender.org/developer/F6311113/blender_2019-01-17_10-30-04.jpg) The same TIF file works correctly in Cycles, so I think it's isolated to Eevee. 8-bit TIFs work fine, just 16-bits are the problem. But since 16-bit TIFs are the industry standard for avoiding stepping in normal maps, this is fairly important. Example blend: [tif_normal_bug_packed.blend](https://archive.blender.org/developer/F6311100/tif_normal_bug_packed.blend)
Author

Added subscriber: @AndrewPrice

Added subscriber: @AndrewPrice
Andrew Price changed title from Using 16-bit TIF images for normal maps, create strange shading in Eevee to Using 16-bit TIF images for normal maps create strange shading in Eevee 2019-01-17 01:40:42 +01:00
Andrew Price changed title from Using 16-bit TIF images for normal maps create strange shading in Eevee to Eevee: Using 16-bit TIF images for normal maps create strange shading 2019-01-17 01:41:04 +01:00

Added subscriber: @VladimirKunyansky

Added subscriber: @VladimirKunyansky

I confirm this for *.png normal maps. When using export from substance designer (with alpha channel).
Solution to the problem for me - using Color (instead of Non-Color Data) in image texture node, or sometimes - in properties (N-panel) of image texture node change Color Space from sRGB to Non-Color.

normal_bug.jpg

I confirm this for **.png* normal maps. When using export from substance designer (with alpha channel). Solution to the problem for me - using **Color** (instead of **Non-Color Data**) in image texture node, or sometimes - in properties (N-panel) of image texture node change Color Space from **sRGB** to **Non-Color**. ![normal_bug.jpg](https://archive.blender.org/developer/F6314691/normal_bug.jpg)

Added subscriber: @FayScrin

Added subscriber: @FayScrin

Have you tried to convert from srgb to linear? I had problems with a 16-bit normal texture, helped me transfer to a linear space instead of srgb

Have you tried to convert from srgb to linear? I had problems with a 16-bit normal texture, helped me transfer to a linear space instead of srgb
Member

Added subscriber: @fclem

Added subscriber: @fclem

Working solution for *.blend file in description : in properties (N-panel) of image texture node change Color Space from sRGB to Non-Color:

normal_bug_2.jpg

Working solution for *.blend file in description : in properties (N-panel) of *image texture node* change Color Space from sRGB to Non-Color: ![normal_bug_2.jpg](https://archive.blender.org/developer/F6318583/normal_bug_2.jpg)

Closed as duplicate of #58621

Closed as duplicate of #58621
Author

Ah I didn't even know that option was there!

It's confusing to have a Color/Non-Color option on the node itself, but then a second hidden option in the properties also that needs to be set to Non-Color. I'm not sure what setting the first one to Non-Color actually did, if it was the latter that actually doesset it to Non-Color.

But I'll remember it for next time. Thanks

Ah I didn't even know that option was there! It's confusing to have a Color/Non-Color option on the node itself, but then a second hidden option in the properties also that needs to be set to Non-Color. I'm not sure what setting the first one to Non-Color actually did, if it was the latter that actually *does*set it to Non-Color. But I'll remember it for next time. Thanks

Added subscriber: @Kirill-Volynkin

Added subscriber: @Kirill-Volynkin

This comment was removed by @Kirill-Volynkin

*This comment was removed by @Kirill-Volynkin*
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#60583
No description provided.