Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualCryZe

Posted 10 February 2013 - 01:14 PM

I've approximated the diffuse transmittance integral and created a BRDF which is pretty lightweight but also pretty physically accurate. Use this instead of Lambert if you want to have proper energy conservation. It's based on GGX roughness though, so you might need to convert your roughness to GGX roughness:

 

eqn5.png

 

It's actually just a single MAD instruction per light if you implement it, the rest can be done on a per pixel basis.


#2CryZe

Posted 10 February 2013 - 01:04 PM

I've approximated the diffuse transmittance integral and created a BRDF which is pretty lightweight but also pretty physically accurate. Use this instead of Lambert if you want to have proper energy conservation. It's based on GGX roughness though, so you might need to convert your roughness to GGX roughness:

 

eqn5.png

 

It's actually just 2 instructions per light if you implement it, the rest can be done on a per pixel basis.


#1CryZe

Posted 10 February 2013 - 06:30 AM

I've approximated the diffuse transmittance integral and created a BRDF which is pretty lightweight but also pretty physically accurate. Use this instead of Lambert if you want to have proper energy conservation. It's based on GGX roughness though, so you might need to convert your roughness to GGX roughness:

 


PARTNERS