Sunsky / Atmoshphere:
[blender-staging.git] / source / blender / render / intern / source / convertblender.c
index 45d79be2f62d68a74b41e6aecab85a875f9ca971..7d92b92a728c0d8e0a140fc6abbeb0d38dc500f4 100644 (file)
@@ -3638,7 +3638,8 @@ static GroupObject *add_render_lamp(Render *re, Object *ob)
                    Normalize(vec);
                    
                        InitSunSky(lar->sunsky, la->atm_turbidity, vec, la->horizon_brightness, 
-                                       la->spread, la->sun_brightness, la->sun_size, la->backscattered_light);
+                                       la->spread, la->sun_brightness, la->sun_size, la->backscattered_light,
+                                          la->skyblendfac, la->skyblendtype);
                        
                        InitAtmosphere(lar->sunsky, la->sun_intensity, 1.0, 1.0, la->atm_inscattering_factor, la->atm_extinction_factor,
                                        la->atm_distance_factor);