Some hair particles are rendered the wrong material in EEVEE #78845
Labels
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
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#78845
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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: Windows 10
Graphics card: GTX 1060 6GB
Blender Version
Broken: 2.90,
ee5c2f6ead
, master, 2020-07-11Worked: 2.83.2
Caused by
b18c2a3c41
Short description of error
there are 3 planes, each plane has two particle hair systems. the particle hairs that on the same plane has the same material.
in blender 2.83 LTS. the color display as intended. since 2.90, when both hair system are active, the color is mix with others of different planes and different materials. if either one of the hair systems that on the same plane is disable, the color return to normal. in 2.83 it looks right, but in 2.90 and above, the blue and green materials also mix with red somehow.
Exact steps for others to reproduce the error
open attached blend file in 290 and above, switch to preview render to see the color mixed within different materials.
change the color_ramp.interpolation to different type from each other would fix the issue, for example, mat1's color_ramp.interpolation to linear, mat2's color_ramp.interpolation to ease, mat3's color_ramp.interpolation to cardinal
particle hair color.blend
Short description of error
Some of the hair particles (the right eyebrow specifically) in the provided file are shaded with other material, unless some of the other objects are hidden (the left eyebrow or both eyelashes)**
Exact steps for others to reproduce the error
Note that this is not the same issue as described in this issue , the provided file used to work on older blender versions and the scale of the objects is always positive.
hair_material_bug.blend
Added subscriber: @tiagomeraki
#87379 was marked as duplicate of this issue
#85973 was marked as duplicate of this issue
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Confirmed'
You forgot to attach or pack the
eyebrow density.1001.png
texture.So when we open the file we don't see any particles.
But after I deleted the texture I could see the problem.
Here the simplified file:
hair_material_bug.blend
I will edit the description.
Some hair particles are rendered as black unless some objects are hidden from viewport in EEVEEto Some hair particles are rendered the wrong material in EEVEEMy bad, I was pretty sure I had packed this texture into the .blend. Thanks for taking the time and fixing the file. Next time I'll make sure to test it at another path before submitting the bug report, and take more time getting it to a minimal state and easy to test with as you did.
Added subscriber: @nimajneb7
I've been having this issue as well.
If two hair systems use materials with the same node layout, they will render the with same material, even if the two materials have different values or textures.
Added subscriber: @agorka
I'm having this problem too, tested in 2.90.1, 2.91 and 2.92.0 Alpha
Uploading another example. Hiding red eyebrows makes upper eyelash render correctly in black. Bug happens only in eevee renders, cycles handles this correctly.
Also, duplicating eyebrows and changing hair material of one of them to black changes lower eyelash color to red.
Something really weird happens there.
Head0002_hairmaterialbug.blend
Added subscriber: @Keeya
I have encountered this bug with multiple objects that use multiple hair particle systems and materials. If your object has multiple material slots which the particle systems use, it goes haywire.
I have this test case:
I can't really seem to find a pattern to what is happening but I feel the material slot given in the particle system render options is not referencing the thing the UI shows as if it goes out of sync with the UI.
Also if you move the material slot (change top <-> bottom), the referenced one in the particle system->render tab also swaps which I feel should not.
Edit: it specifically happens if you have an object with multiple particle systems that use the same material. I have used that for different type of fur layers.
Possible workaround: You can kinda workaround it, if you create a separate material, duplicating it, for each particle system.
blender 2.91.0
blender-hair-particles-material.blend
Added subscriber: @SachaGoedegebure
Added subscriber: @sid350
Added subscriber: @lichtwerk
Will set to high prio since it is a regression, we have the culprit commit and has been reported again in #87379
Added subscriber: @sleepyhead
This issue was referenced by
2f6219c48d
Changed status from 'Confirmed' to: 'Resolved'