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???

Accepted Reply

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.

  • Thank you very much, I didn't know in SCNDisableLinearSpaceRendering set to false in info.plist in my project. and its effect also...

Add a Comment

Replies

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.

  • Thank you very much, I didn't know in SCNDisableLinearSpaceRendering set to false in info.plist in my project. and its effect also...

Add a Comment