Scenekit view and scenekit editor color difference

Hello there,

I'm having trouble matching what I see in the scenekit editor and the output of the resulting scene in a scnview.

For a glitter effect I have set a high value on the diffuse intensity which looks fine in the editor but when running the game the colors are much darker. To see if the intensity value is merely capped I have set the same multiplier on the hat below - but it is blown out which looks to me like there is some grading going on

I have tried to switch on hdr rendering but that didn't make a difference.

I tried disabling linear rendering and that simply made everything darker still - which I expect.

Does someone have an idea what else this could be? What rendering is the scenekit editor using and how can I match it?

Interestingly when I take a screenshot of the editor window for this post, the image is also blown out... what is going on? :)

Thanks so much for any pointers,

Seb

Answered by DTS Engineer in 836104022

Hello @sschoellhammer,

By default, the SceneKit editor has the "Default Lighting" option enabled (it's the little lightbulb button at the bottom right of the editor view).

If you'd like this same "Default Lighting" in your app, set autoEnablesDefaultLighting to true on your SCNView.

-- Greg

Hello @sschoellhammer,

Could you able to provide a focused sample project that demonstrates the issue?

-- Greg

Hello!

Thanks a lot for getting back to me. I have made a fresh project that just renders the asset.

If you open up costume_wizard_purple.scn you should be seeing the glitter effect quiet bright - but when viewing it in the contentview preview, different colors are being displayed.

https://www.dropbox.com/scl/fi/q8mx9appwtgjmgx5mx8ip/color_problem.zip?rlkey=a2bqo0dmrulkoedcpxphc9404&dl=0

Looking forward to your findings! seb

Hello @sschoellhammer,

By default, the SceneKit editor has the "Default Lighting" option enabled (it's the little lightbulb button at the bottom right of the editor view).

If you'd like this same "Default Lighting" in your app, set autoEnablesDefaultLighting to true on your SCNView.

-- Greg

Scenekit view and scenekit editor color difference
 
 
Q