Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 257 Lines • ▼ Show 20 Lines | PATH_RAY_TERMINATE = (PATH_RAY_TERMINATE_ON_NEXT_SURFACE | PATH_RAY_TERMINATE_IN_NEXT_VOLUME | | ||||
| PATH_RAY_TERMINATE_AFTER_TRANSPARENT | PATH_RAY_TERMINATE_AFTER_VOLUME), | PATH_RAY_TERMINATE_AFTER_TRANSPARENT | PATH_RAY_TERMINATE_AFTER_VOLUME), | ||||
| /* Path and shader is being evaluated for direct lighting emission. */ | /* Path and shader is being evaluated for direct lighting emission. */ | ||||
| PATH_RAY_EMISSION = (1 << 19), | PATH_RAY_EMISSION = (1 << 19), | ||||
| /* Perform subsurface scattering. */ | /* Perform subsurface scattering. */ | ||||
| PATH_RAY_SUBSURFACE_RANDOM_WALK = (1 << 20), | PATH_RAY_SUBSURFACE_RANDOM_WALK = (1 << 20), | ||||
| PATH_RAY_SUBSURFACE_DISK = (1 << 21), | PATH_RAY_SUBSURFACE_DISK = (1 << 21), | ||||
| PATH_RAY_SUBSURFACE = (PATH_RAY_SUBSURFACE_RANDOM_WALK | PATH_RAY_SUBSURFACE_DISK), | PATH_RAY_SUBSURFACE_USE_FRESNEL = (1 << 22), | ||||
| PATH_RAY_SUBSURFACE = (PATH_RAY_SUBSURFACE_RANDOM_WALK | PATH_RAY_SUBSURFACE_DISK | | |||||
| PATH_RAY_SUBSURFACE_USE_FRESNEL), | |||||
| /* Contribute to denoising features. */ | /* Contribute to denoising features. */ | ||||
| PATH_RAY_DENOISING_FEATURES = (1 << 22), | PATH_RAY_DENOISING_FEATURES = (1 << 23), | ||||
| /* Render pass categories. */ | /* Render pass categories. */ | ||||
| PATH_RAY_REFLECT_PASS = (1 << 23), | PATH_RAY_REFLECT_PASS = (1 << 24), | ||||
| PATH_RAY_TRANSMISSION_PASS = (1 << 24), | PATH_RAY_TRANSMISSION_PASS = (1 << 25), | ||||
| PATH_RAY_VOLUME_PASS = (1 << 25), | PATH_RAY_VOLUME_PASS = (1 << 26), | ||||
| PATH_RAY_ANY_PASS = (PATH_RAY_REFLECT_PASS | PATH_RAY_TRANSMISSION_PASS | PATH_RAY_VOLUME_PASS), | PATH_RAY_ANY_PASS = (PATH_RAY_REFLECT_PASS | PATH_RAY_TRANSMISSION_PASS | PATH_RAY_VOLUME_PASS), | ||||
| /* Shadow ray is for a light or surface. */ | /* Shadow ray is for a light or surface. */ | ||||
| PATH_RAY_SHADOW_FOR_LIGHT = (1 << 26), | PATH_RAY_SHADOW_FOR_LIGHT = (1 << 27), | ||||
| /* A shadow catcher object was hit and the path was split into two. */ | /* A shadow catcher object was hit and the path was split into two. */ | ||||
| PATH_RAY_SHADOW_CATCHER_HIT = (1 << 27), | PATH_RAY_SHADOW_CATCHER_HIT = (1 << 28), | ||||
| /* A shadow catcher object was hit and this path traces only shadow catchers, writing them into | /* A shadow catcher object was hit and this path traces only shadow catchers, writing them into | ||||
| * their dedicated pass for later division. | * their dedicated pass for later division. | ||||
| * | * | ||||
| * NOTE: Is not covered with `PATH_RAY_ANY_PASS` because shadow catcher does special handling | * NOTE: Is not covered with `PATH_RAY_ANY_PASS` because shadow catcher does special handling | ||||
| * which is separate from the light passes. */ | * which is separate from the light passes. */ | ||||
| PATH_RAY_SHADOW_CATCHER_PASS = (1 << 28), | PATH_RAY_SHADOW_CATCHER_PASS = (1 << 29), | ||||
| /* Path is evaluating background for an approximate shadow catcher with non-transparent film. */ | /* Path is evaluating background for an approximate shadow catcher with non-transparent film. */ | ||||
| PATH_RAY_SHADOW_CATCHER_BACKGROUND = (1 << 29), | PATH_RAY_SHADOW_CATCHER_BACKGROUND = (1 << 30), | ||||
| }; | }; | ||||
| /* Configure ray visibility bits for rays and objects respectively, | /* Configure ray visibility bits for rays and objects respectively, | ||||
| * to make shadow catchers work. | * to make shadow catchers work. | ||||
| * | * | ||||
| * On shadow catcher paths we want to ignore any intersections with non-catchers, | * On shadow catcher paths we want to ignore any intersections with non-catchers, | ||||
| * whereas on regular paths we want to intersect all objects. */ | * whereas on regular paths we want to intersect all objects. */ | ||||
| ▲ Show 20 Lines • Show All 1,265 Lines • Show Last 20 Lines | |||||