Cycles: adjust Sky texture intensity to follow physical units

The sky will appear brighter than before by default. To compensate for this,
lower exposure in the Film panel. The default altitude was also changed from
90 to 15 degrees.

Patch contributed by Marco with the help of Ryan Jones.

Differential Revision: https://developer.blender.org/D8285
This commit is contained in:
2020-07-20 18:43:21 +02:00
parent 52543be9a6
commit d40c39fca0
6 changed files with 65 additions and 64 deletions

View File

@@ -43,9 +43,9 @@ static void node_shader_init_tex_sky(bNodeTree *UNUSED(ntree), bNode *node)
tex->turbidity = 2.2f;
tex->ground_albedo = 0.3f;
tex->sun_disc = true;
tex->sun_size = DEG2RADF(0.545);
tex->sun_size = DEG2RADF(0.545f);
tex->sun_intensity = 1.0f;
tex->sun_elevation = M_PI_2;
tex->sun_elevation = DEG2RADF(15.0f);
tex->sun_rotation = 0.0f;
tex->altitude = 0.0f;
tex->air_density = 1.0f;