Cycles Hair shaders do not work with color input, only the built-in node color selector. #42706
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
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#42706
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
OSX 10.9.1
i5, 16GB
CPU rendering
Blender Version
Broken: I tested 2 recent versions and this was brought up on Blender Stack Exchange as a question.
http://blender.stackexchange.com/questions/19159/colouring-hair-with-vertex-paint?atw=1
Short description of error
The color input for shaders breaks the shader when used. Only the built-in color selector works for coloring the hair. Using a texture as input causes the hair to use default color(light-gray), using the attribute node for vertex colors breaks the shading for the hairs completely.
Exact steps for others to reproduce the error
I've prepared a .blend which has three node groups in the same material. You can just click each output node to see the results in the Rendered View.
badHairDay.blend
Best guess: color input for shader nodes should be cast to the proper type. (hopefully that's not a red-herring) :)
Changed status to: 'Open'
Added subscriber: @MarcClintDion
Added subscriber: @ajwood
I think it's important to note that this problem only shows up with "Emit from: Verts" is selected - it behaves well when the hair emitted from the face.
Changed status from 'Open' to: 'Archived'
Root of the issue goes to
rna_ParticleSystem_tessfaceidx_on_emitter()
which currently can not figure out which face to use for particle color/uv coordinate when they're emitted from vertex. Basically you need to know all the adjacent to the hair faces in order to figure out it's color. It's not possible without doing full mesh lookup per hair which would slow down scene preparation as a hell.it's also not possible to support textures on hair -- for that you'll need to somehow map UV from faces to hair. The main issue here is that faces could have discontinuities in UVs hence it'll be totally arbitrary which UV coordinate to use for hair.
Improvements are possible here, but wouldn't really consider it a bug. Better to look again after particle code refactor which we still hope will happen during gooseberry.
Anyway. thanks for the report, but it goes to TODO: http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/ToDo#Smaller_Features