sparkfish / augraphy

Augmentation pipeline for rendering synthetic paper printing, faxing, scanning and copy machine processes
https://github.com/sparkfish/augraphy
MIT License
334 stars 43 forks source link

Added ReflectedLight augmentation. #293

Closed kwcckw closed 1 year ago

kwcckw commented 1 year ago

Some different effects from ReflectedLight :

  1. Reflective light surface without any hard light, this can be done by setting reflected_light_internal_radius_range to 0. image

  2. Reflective light with a very small hard light source, similar with LED flash. This can be done by setting reflected_light_internal_radius_range to a small value and reflected_light_internal_max_brightness_range to 1. image

  3. Reflective light with texture surface. This can be done by reducing the blurring effect, setting reflected_light_gaussian_kernel_size_range to a small value: image

  4. Reflective light without texture surface. This can be done by increasing the blurring effect, setting reflected_light_gaussian_kernel_size_range to a large value: image

Some other examples with different color: image image image