Page MenuHome

Viewport: Change default studiolight

Authored by Clément Foucault (fclem) on May 24 2019, 2:35 PM.



Change default studiolight to replace current default matcap.

We cannot make it match perfectly because the matcap is
projected using some kind of reflection projection and does not
really map to a lambertian surface model.

So instead of matching the previous matcap we try to get closer
to 2.79 default lighting.

Also the requirement is that the lighting needs to be ok with
all material parameter ranges so this is the best we can do.

Viewport: Change default roughness to 0.4

This is in order to match the previous default matcap better.

Diff Detail

rB Blender
tmp-new-default-studiolight (branched from master)
Build Status
Buildable 3725
Build 3725: arc lint + arc unit

Event Timeline

This is what it looks like. Right spheres are metallic 1.0.

I committed an update studio light just before this diff was submitted.
rBdd4a2682216c: Viewport: add more contrast to default studio light, make it default again

Not sure if something closer to 2.7 or the matcap is better, I don't have a strong opinion on that, either is ok with me.

Rebase to latest master

New proposition : More frontal lighting.

  • Update studiolight again and fix compilation
This revision is now accepted and ready to land.May 24 2019, 5:15 PM
This revision was automatically updated to reflect the committed changes.

I like the two versions for different circumstances. Could Brecht version also be added as an alternative option?

Please, focus more on contrast and apparent curvature rather than making it look the same.

When I created that matcap, my intent was to have no apparently flat regions so it varies smoothly across the angles, the faint blue/red ambient is to differentiate concave and convex surfaces.

biasing the light towards the side will also make it harder to differentiate shapes.

also the specular direction is detached from diffuse so there's not a way to reproduce it without some hacks.