Page MenuHome

eevee renders wrong colors for hair if a vertex color is used as input
Closed, ResolvedPublic

Description

System Information
Operating system: Fedora 30
Graphics card: 970m (418.56 drivers)

Blender Version
Broken: rBaaf65749e9df
Worked: never in eevee

Short description of error
eevee will render wrong colors for hair if a vertex color is used as input (Attribute node)

Exact steps for others to reproduce the error

  • open above .blend
  • observe wrong hair colors [no the same as underlying mesh vertex colors]

This is due to a wrong offset being used in particle_calculate_parent_mcol and particle_interpolate_children_mcol
(should use num * 4 instead of just num -- will post patch shortly...)