bx-935-calc #1

Merged
ksenia_mikhailova merged 15 commits from bx-935-calc into main 2024-07-03 14:57:08 +03:00
5 changed files with 32 additions and 3 deletions
Showing only changes of commit ba01f2633e - Show all commits

View File

@ -66,9 +66,9 @@ pmremGenerator.compileEquirectangularShader();
onMounted(async () => {
const loader = new GainMapLoader(renderer.value)
const result = await loader.loadAsync([
'/hdrmaps/kloppenheim_06_4k.webp',
'/hdrmaps/kloppenheim_06_4k-gainmap.webp',
'/hdrmaps/kloppenheim_06_4k.json',
'hdrmaps/alps_field_4k.webp',
'hdrmaps/alps_field_4k-gainmap.webp',
'hdrmaps/alps_field_4k.json',
])
const exrCubeRenderTarget = pmremGenerator.fromEquirectangular(result.renderTarget.texture);
const exrBackground = exrCubeRenderTarget.texture;

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

View File

@ -0,0 +1,29 @@
{
"gainMapMax": [
15.999075124875333,
15.999075124875333,
15.999075124875333
],
"gainMapMin": [
0,
0,
0
],
"gamma": [
1,
1,
1
],
"hdrCapacityMax": 15.999075124875333,
"hdrCapacityMin": 0,
"offsetHdr": [
0.015625,
0.015625,
0.015625
],
"offsetSdr": [
0.015625,
0.015625,
0.015625
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB