首页 > 解决方案 > A-Frame:屏幕截图颜色管理正在中断

问题描述

有什么方法可以确保屏幕截图保留我的渲染器颜色管理设置?

我将色彩管理设置为真(右图),但一旦我截取屏幕截图,它就好像它是假的(左图)。 截屏

我只是使用基本的屏幕截图代码:

const scene = document.querySelector('a-scene');
scene.setAttribute('screenshot', {
      width: 4096,
      height: 2048
});
scene.components.screenshot.capture('perspective');

标签: javascriptthree.jsscreenshotaframe

解决方案


推荐阅读