@@ -2651,25 +2651,25 @@ void Parser::Parse_Finish (FINISH **Finish_Ptr)
26512651 // adjust diffuse, phong and/or specular intensity parameters
26522652 // so that a user-specified value of 1.0 corresponds to a
26532653 // backscattering of 100% of the incoming light
2654- double EffectiveBiHemisphericalAlbedo = 2.0 / (New->Brilliance + 1.0 );
2654+ double EffectiveBihemisphericalReflectance = 2.0 / (New->Brilliance + 1.0 );
26552655 if (New->OrenNayarA != 1.0 )
2656- EffectiveBiHemisphericalAlbedo *= New->OrenNayarA ;
2656+ EffectiveBihemisphericalReflectance *= New->OrenNayarA ;
26572657 if (New->OrenNayarB != 0.0 )
2658- EffectiveBiHemisphericalAlbedo += New->OrenNayarB * (2.0 /3.0 - (64.0 /45.0 )*(1.0 /M_PI));
2658+ EffectiveBihemisphericalReflectance += New->OrenNayarB * (2.0 /3.0 - (64.0 /45.0 )*(1.0 /M_PI));
26592659 if (New->LommelSeeligerWeight != 0.0 )
26602660 {
2661- EffectiveBiHemisphericalAlbedo *= (1.0 - New->LommelSeeligerWeight );
2662- EffectiveBiHemisphericalAlbedo += New->LommelSeeligerWeight * ((8.0 * (1.0 -log (2.0 ))) / 3.0 );
2661+ EffectiveBihemisphericalReflectance *= (1.0 - New->LommelSeeligerWeight );
2662+ EffectiveBihemisphericalReflectance += New->LommelSeeligerWeight * ((8.0 * (1.0 -log (2.0 ))) / 3.0 );
26632663 }
26642664 if (diffuseAdjust)
26652665 {
2666- New->DiffuseAlbedoAdjust = 1.0 / EffectiveBiHemisphericalAlbedo ;
2666+ New->DiffuseAlbedoAdjust = 1.0 / EffectiveBihemisphericalReflectance ;
26672667 New->DiffuseAlbedoAdjustRad = 1.0 ;
26682668 }
26692669 else
26702670 {
26712671 New->DiffuseAlbedoAdjust = 1.0 ;
2672- New->DiffuseAlbedoAdjustRad = EffectiveBiHemisphericalAlbedo ;
2672+ New->DiffuseAlbedoAdjustRad = EffectiveBihemisphericalReflectance ;
26732673 }
26742674 if (phongAdjust)
26752675 New->Phong *= (New->Phong_Size + 1.0 ) / 2.0 ;
0 commit comments