Page MenuHome

Disable unused closures when baking specific types of lighting
Needs RevisionPublic

Authored by Lukas Stockner (lukasstockner97) on Mar 16 2018, 5:28 AM.

Diff Detail

Repository
rB Blender
Branch
baking-disable
Build Status
Buildable 1296
Build 1296: arc lint + arc unit

Event Timeline

Brecht Van Lommel (brecht) requested changes to this revision.Mar 17 2018, 4:47 PM

Seems generally fine.

intern/cycles/kernel/kernel_shader.h
830

Can we set sc->type = NBUILTIN_CLOSURES, to avoid having to check the sample weight in other places? I'd rather not use the sample weight as an indicator for the closure being enabled or not.

This revision now requires changes to proceed.Mar 17 2018, 4:47 PM