Pink Material with Node Groups in Eevee #62790
Labels
No Label
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Content
Type
Design
Type
Report
Type
To Do
Type
Web Development
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: studio/blender-studio#62790
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-4.13.0-46-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: Quadro GP100/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 384.130
Blender Version
Broken: version: 2.80 (sub 51), branch: master, commit date: 2019-03-20 14:01, hash:
blender/blender@4e0b5a0baf
Short description of error
In some cases while working on the production files of Spring, the material turns pink for Eevee. This is usually coupled with long shader compiling. I saw this usually only occurring for big material setups that use node groups to some extend.
Example file: bug_pink.blend
Both the jacket and rock end up pink when going into LookDev or rendering with Eevee. For the rock it seems to be the node group "rocks_frost" near the material output that is causing it. When skipping this node group the material renders fine.
The jacket used to render fine but then I put most of the textures into node groups and plugged them into the material on multiple locations. After that it ended up pink as well. By removing some of the node groups or muting enough nodes along the way, the pink material becomes fixed.
Added subscriber: @JulienKaspar
Added subscriber: @ZedDB
Getting an assert:
And if I use lookdev or eevee, I simply get a black material which I suppose in the same error.
Changed status from 'Open' to: 'Archived'
From @JulienKaspar on IRC:
The shader is just too complex for the driver to generate a shader that would fit its maximum instruction count. The problem is that using nodegroups generate a few more dummy instructions that the compiler may not remove at compile time.
So we are talking about optimization here, not a real bug.
@JulienKaspar I added a small optimization for rgb curves (blender/blender@c49a70bcd1) that could help in this case. Here the material just displays black so I guess it is still not working on my end. But I have a different GPU so you might have better luck.
@fclem Doesn't seem to help for me either. The materials still end up pink.