private void buttonRebuildBRDF_Click( object sender, EventArgs e )
{
ComputeBRDFIntegral( new System.IO.FileInfo( "BRDF0_64x64.bin" ), 64 );
// ComputeBRDFIntegralImportanceSampling( new System.IO.FileInfo( "BRDF1_64x64.bin" ), 64 );
if ( m_Tex_BRDFIntegral != null )
m_Tex_BRDFIntegral.Dispose();
m_Tex_BRDFIntegral = BuildBRDFTexture( new System.IO.FileInfo( "BRDF0_64x64.bin" ), 64 );
m_Tex_BRDFIntegral.SetPS( 5 );
}