Blender Git Commit Log

Git Commits -> Revision b06962f

Revision b06962f by Sergey Sharybin (master)
April 5, 2015, 14:07 (GMT)
Cycles: Avoid using lookup table for Beckmann slopes on GPU

This patch is based on some work done in D788 and re-formulation from Beckmann
implementation in OpenShadingLanguage.

Skipping texture lookup helps a lot on GPUs where it's more expensive to access
texture memory than to do some extra calculation in threads.

CPU code still uses lookup-table based approach since this seems to be still
faster (at least on computers i've got access to).

This change gives about 2% speedup on BMW scene with GTX560TI.

Commit Details:

Full Hash: b06962fcfe8124ba15761703aaf24086c4b6fa5b
Parent Commit: 252b36c
Lines Changed: +53, -9

1 Modified Path:

/intern/cycles/kernel/closure/bsdf_microfacet.h (+53, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021