Page MenuHome

Cycles material preview no light
Closed, ResolvedPublic

Description

Blender Version
Broken: 9ad2c0b6154
Worked: 9ad2c0b6154^

Short description of error
Material preview is black unless you use emission materials.

Exact steps for others to reproduce the error
Create a material with Cycles and look at the material preview tab.

Event Timeline

Dalai Felinto (dfelinto) lowered the priority of this task from 90 to 50.
Dalai Felinto (dfelinto) created this task.

Note to self (or @Sergey Sharybin (sergey) if he feels like):
Take a look at render_preview.c::preview_prepare_scene and see if depsgraph is flushing the visibility / disability properly.

Also: If I take the preview_cycles.blend file and change so that only one collection is enabled this collection preview type works. That's why I think the depsgraph is not being properly updated after set_preview_layer().