Exposing the BRDF Models to the Material Editor?

You just need to change single #define in BRDF.usf
It’s hard to miss:



// Diffuse model
// 0: Lambert
// 1: Burley
// 2: Oren-Nayar
#define PHYSICAL_DIFFUSE	2


The you just start your game, and wait till all shaders recompile.