We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c18828 commit 960704dCopy full SHA for 960704d
1 file changed
include/nbl/builtin/hlsl/path_tracing/unidirectional.hlsl
@@ -37,6 +37,7 @@ struct Unidirectional
37
using vector3_type = vector<scalar_type, 3>;
38
using monochrome_type = vector<scalar_type, 1>;
39
using measure_type = typename MaterialSystem::measure_type;
40
+ using spectral_type = typename NextEventEstimator::spectral_type;
41
using sample_type = typename NextEventEstimator::sample_type;
42
using ray_dir_info_type = typename sample_type::ray_dir_info_type;
43
using ray_type = Ray;
@@ -209,7 +210,7 @@ struct Unidirectional
209
210
211
scalar_type bxdfPdfThreshold;
212
scalar_type lumaContributionThreshold; // OETF smallest perceptible value
- measure_type spectralTypeToLumaCoeffs;
213
+ spectral_type spectralTypeToLumaCoeffs;
214
};
215
216
}
0 commit comments