Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/engine.py
| Show First 20 Lines • Show All 236 Lines • ▼ Show 20 Lines | if (scene.cycles.use_denoising and crl.use_denoising) or crl.denoising_store_passes: | ||||
| yield ("Denoising Normal", "XYZ", 'VECTOR') | yield ("Denoising Normal", "XYZ", 'VECTOR') | ||||
| yield ("Denoising Albedo", "RGB", 'COLOR') | yield ("Denoising Albedo", "RGB", 'COLOR') | ||||
| # Custom AOV passes. | # Custom AOV passes. | ||||
| for aov in srl.aovs: | for aov in srl.aovs: | ||||
| if aov.type == 'VALUE': | if aov.type == 'VALUE': | ||||
| yield (aov.name, "X", 'VALUE') | yield (aov.name, "X", 'VALUE') | ||||
| else: | else: | ||||
| yield (aov.name, "RGBA", 'COLOR') | yield (aov.name, "RGB", 'COLOR') | ||||
| def register_passes(engine, scene, view_layer): | def register_passes(engine, scene, view_layer): | ||||
| for name, channelids, channeltype in list_render_passes(scene, view_layer): | for name, channelids, channeltype in list_render_passes(scene, view_layer): | ||||
| engine.register_pass(scene, view_layer, name, len(channelids), channelids, channeltype) | engine.register_pass(scene, view_layer, name, len(channelids), channelids, channeltype) | ||||