Feature: we're using "non linear lighting" now, using exposure/range in

world. That allows more extreme lamps (areas too). 

To make it work more intuitive, the preview renders in buttons now use
the settings for exposure too.
This commit is contained in:
2008-01-25 15:06:35 +00:00
parent bd321b8afe
commit bd4cf4bc66
2 changed files with 8 additions and 3 deletions

View File

@@ -270,6 +270,11 @@ static Scene *preview_prepare_scene(RenderInfo *ri, int id_type, ID *id, int pr_
sce->r.scemode |= R_PREVIEWBUTS;
/* set world always back, is used now */
sce->world= pr_main->world.first;
/* now: exposure copy */
if(G.scene->world) {
sce->world->exp= G.scene->world->exp;
sce->world->range= G.scene->world->range;
}
sce->r.cfra= G.scene->r.cfra;