Work inside colorGrading property?

只谈情不闲聊 提交于 2019-12-11 07:23:33

问题


Does anybody use colorGrading property of the SCNCamera to adjust rendered colors? The colorGrading's contents value must be a 3D color lookup table(LUT) or a 2D texture image the represents such a table arranged in a horzontal strip. So I try to download some 3D color lookup table file whic is .cube format and write some Metal code. But when I run it, I got the whole black scene. But when I move the camera, the black disappear but the colorGranding didn't work that way. So I want to use 2D texture image, but I couldn't find the resources from the internet. The doc says the you can create a basic color table image to create custom effects. But what does it mean? How can I create a basic color table image?

来源:https://stackoverflow.com/questions/42544724/work-inside-colorgrading-property

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!