Sunsky / Atmoshphere:
[blender-staging.git] / source / blender / blenkernel / intern / object.c
index 6cbcba65f5631d3a72095eeed45ef6227b8306d6..f9de9d58a3707fd69db5383492d9951bd0784c17 100644 (file)
@@ -748,6 +748,9 @@ void *add_lamp(char *name)
        la->atm_extinction_factor = 1.0;
        la->atm_distance_factor = 1.0;
        la->sun_intensity = 1.0;
+       la->skyblendtype= MA_RAMP_ADD;
+       la->skyblendfac= 1.0f;
+
        curvemapping_initialize(la->curfalloff);
        return la;
 }