(2020-05-28, 19:51)Lasse Deleuran Wrote: Alright. The switch between the two renderers is just matter of setting the option "physicalRenderingAge" to 0 or 1 as seen in sample_physical.htm and sample_view.htm, respectively.
Now that I've done the legwork to clean up the code base, I'm almost ready to roll out to the OMR. The last issue would be to improve the lighting model in physical render mode. Looks kinda dark to me. Any suggestions?
The model viewer under the "Tools" menu uses the current code which is pretty much identical, lighting-wise, to Scene.js. You'll have to switch to physical render mode with the "eye" button.