How to change color pixel format of scnview

Hello everyone,

I have seen color pixel of scnview.

but it's get-only property.

I want to change bgra_8unorm to bgra_8unorm_srgb.

how can I change it???

Answered by DTS Engineer in 721060022

Hello,

By default, the colorPixelFormat of an SCNView should be bgra8Unorm_srgb. You can change this to bgra8Unorm by setting the SCNDisableLinearSpaceRendering key in your info.plist to a boolean value of true.

Accepted Answer

Hello,

By default, the colorPixelFormat of an SCNView should be bgra8Unorm_srgb. You can change this to bgra8Unorm by setting the SCNDisableLinearSpaceRendering key in your info.plist to a boolean value of true.

How to change color pixel format of scnview
 
 
Q