@@ -337,10 +337,9 @@ struct Beckmann<T,false,MTT_REFLECT NBL_PARTIAL_REQ_BOT(concepts::FloatingPointS
337
337
}
338
338
339
339
template<class LS, class Interaction NBL_FUNC_REQUIRES (LightSample<LS> && surface_interactions::Isotropic<Interaction>)
340
- quant_type correlated (NBL_CONST_REF_ARG (g2g1_query_type) query, NBL_CONST_REF_ARG (quant_query_type) quant_query , NBL_CONST_REF_ARG (LS) _sample, NBL_CONST_REF_ARG (Interaction) interaction)
340
+ scalar_type correlated (NBL_CONST_REF_ARG (g2g1_query_type) query, NBL_CONST_REF_ARG (LS) _sample, NBL_CONST_REF_ARG (Interaction) interaction)
341
341
{
342
- scalar_type g = __base.template correlated<LS, Interaction>(query, _sample, interaction);
343
- return createDualMeasureQuantity<T>(g, interaction.getNdotV (BxDFClampMode::BCM_MAX), _sample.getNdotL (BxDFClampMode::BCM_MAX));
342
+ return __base.template correlated<LS, Interaction>(query, _sample, interaction);
344
343
}
345
344
346
345
template<class LS, class Interaction, class MicrofacetCache NBL_FUNC_REQUIRES (LightSample<LS> && surface_interactions::Isotropic<Interaction> && ReadableIsotropicMicrofacetCache<MicrofacetCache>)
@@ -409,10 +408,9 @@ struct Beckmann<T,true,MTT_REFLECT NBL_PARTIAL_REQ_BOT(concepts::FloatingPointSc
409
408
}
410
409
411
410
template<class LS, class Interaction NBL_FUNC_REQUIRES (LightSample<LS> && surface_interactions::Anisotropic <Interaction>)
412
- quant_type correlated (NBL_CONST_REF_ARG (g2g1_query_type) query, NBL_CONST_REF_ARG (quant_query_type) quant_query , NBL_CONST_REF_ARG (LS) _sample, NBL_CONST_REF_ARG (Interaction) interaction)
411
+ scalar_type correlated (NBL_CONST_REF_ARG (g2g1_query_type) query, NBL_CONST_REF_ARG (LS) _sample, NBL_CONST_REF_ARG (Interaction) interaction)
413
412
{
414
- scalar_type g = __base.template correlated<LS, Interaction>(query, _sample, interaction);
415
- return createDualMeasureQuantity<T>(g, interaction.getNdotV (BxDFClampMode::BCM_MAX), _sample.getNdotL (BxDFClampMode::BCM_MAX));
413
+ return __base.template correlated<LS, Interaction>(query, _sample, interaction);
416
414
}
417
415
418
416
template<class LS, class Interaction, class MicrofacetCache NBL_FUNC_REQUIRES (LightSample<LS> && surface_interactions::Anisotropic <Interaction> && AnisotropicMicrofacetCache<MicrofacetCache>)
@@ -484,10 +482,9 @@ struct Beckmann<T,false,reflect_refract NBL_PARTIAL_REQ_BOT(concepts::FloatingPo
484
482
}
485
483
486
484
template<class LS, class Interaction NBL_FUNC_REQUIRES (LightSample<LS> && surface_interactions::Isotropic<Interaction>)
487
- quant_type correlated (NBL_CONST_REF_ARG (g2g1_query_type) query, NBL_CONST_REF_ARG (quant_query_type) quant_query , NBL_CONST_REF_ARG (LS) _sample, NBL_CONST_REF_ARG (Interaction) interaction)
485
+ scalar_type correlated (NBL_CONST_REF_ARG (g2g1_query_type) query, NBL_CONST_REF_ARG (LS) _sample, NBL_CONST_REF_ARG (Interaction) interaction)
488
486
{
489
- scalar_type g = __base.template correlated<LS, Interaction>(query, _sample, interaction);
490
- return createDualMeasureQuantity<T, reflect_refract>(g, interaction.getNdotV (BxDFClampMode::BCM_ABS), _sample.getNdotL (BxDFClampMode::BCM_ABS), quant_query.getVdotHLdotH (), quant_query.getVdotH_etaLdotH ());
487
+ return __base.template correlated<LS, Interaction>(query, _sample, interaction);
491
488
}
492
489
493
490
template<class LS, class Interaction, class MicrofacetCache NBL_FUNC_REQUIRES (LightSample<LS> && surface_interactions::Isotropic<Interaction> && ReadableIsotropicMicrofacetCache<MicrofacetCache>)
@@ -558,10 +555,9 @@ struct Beckmann<T,true,reflect_refract NBL_PARTIAL_REQ_BOT(concepts::FloatingPoi
558
555
}
559
556
560
557
template<class LS, class Interaction NBL_FUNC_REQUIRES (LightSample<LS> && surface_interactions::Anisotropic <Interaction>)
561
- quant_type correlated (NBL_CONST_REF_ARG (g2g1_query_type) query, NBL_CONST_REF_ARG (quant_query_type) quant_query , NBL_CONST_REF_ARG (LS) _sample, NBL_CONST_REF_ARG (Interaction) interaction)
558
+ scalar_type correlated (NBL_CONST_REF_ARG (g2g1_query_type) query, NBL_CONST_REF_ARG (LS) _sample, NBL_CONST_REF_ARG (Interaction) interaction)
562
559
{
563
- scalar_type g = __base.template correlated<LS, Interaction>(query, _sample, interaction);
564
- return createDualMeasureQuantity<T, reflect_refract>(g, interaction.getNdotV (BxDFClampMode::BCM_ABS), _sample.getNdotL (BxDFClampMode::BCM_ABS), quant_query.getVdotHLdotH (), quant_query.getVdotH_etaLdotH ());
560
+ return __base.template correlated<LS, Interaction>(query, _sample, interaction);
565
561
}
566
562
567
563
template<class LS, class Interaction, class MicrofacetCache NBL_FUNC_REQUIRES (LightSample<LS> && surface_interactions::Anisotropic <Interaction> && AnisotropicMicrofacetCache<MicrofacetCache>)
0 commit comments