Skip to content

Commit 960704d

Browse files
committed
luminosity coeff should be spectral_type
1 parent 9c18828 commit 960704d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/nbl/builtin/hlsl/path_tracing/unidirectional.hlsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ struct Unidirectional
3737
using vector3_type = vector<scalar_type, 3>;
3838
using monochrome_type = vector<scalar_type, 1>;
3939
using measure_type = typename MaterialSystem::measure_type;
40+
using spectral_type = typename NextEventEstimator::spectral_type;
4041
using sample_type = typename NextEventEstimator::sample_type;
4142
using ray_dir_info_type = typename sample_type::ray_dir_info_type;
4243
using ray_type = Ray;
@@ -209,7 +210,7 @@ struct Unidirectional
209210

210211
scalar_type bxdfPdfThreshold;
211212
scalar_type lumaContributionThreshold; // OETF smallest perceptible value
212-
measure_type spectralTypeToLumaCoeffs;
213+
spectral_type spectralTypeToLumaCoeffs;
213214
};
214215

215216
}

0 commit comments

Comments
 (0)