javascript - A-Frame:屏幕截图颜色管理正在中断
问题描述
有什么方法可以确保屏幕截图保留我的渲染器颜色管理设置?
我将色彩管理设置为真(右图),但一旦我截取屏幕截图,它就好像它是假的(左图)。
我只是使用基本的屏幕截图代码:
const scene = document.querySelector('a-scene');
scene.setAttribute('screenshot', {
width: 4096,
height: 2048
});
scene.components.screenshot.capture('perspective');
解决方案
推荐阅读
- angular - NGX-Mask 在单个输入上进行多重屏蔽
- kotlin - 即使它不起作用/充满错误,是否可以从示例代码创建绑定库?
- oracle11g - 从 SQL Server 2012 查询 11g Oracle 数据库
- swiftui - HStack 中的 SwiftUI EditButton 未激活编辑模式
- contentful - 创建虚拟内容
- r - Rvest html_nodes 跨越一次和 Xpath
- angular - 如何在 Angular 中创建全局变量?
- json - VB.NET 动态 JSON 反序列化
- batch-file - 如何使用命令行按扩展名从文件夹中读取文件名
- gitlab - gitlab ci 每个阶段运行一个管道