Skip to content

Commit 894d393

Browse files
committed
BasisU: Configure HDR quality from the settings
1 parent 1a1cc0f commit 894d393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/basis_universal/image_compress_basisu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Vector<uint8_t> basis_universal_packer(const Ref<Image> &p_image, Image::UsedCha
135135
if (is_hdr) {
136136
decompress_format = BASIS_DECOMPRESS_HDR_RGB;
137137
params.m_hdr = true;
138-
params.m_uastc_hdr_4x4_options.set_quality_level(0);
138+
params.m_uastc_hdr_4x4_options.set_quality_level(p_basisu_params.uastc_level);
139139

140140
} else {
141141
switch (p_channels) {

0 commit comments

Comments
 (0)