Lights: change sun light size to be specified as angle
This is the angular diameter as seen from earth, which is between 0.526° and 0.545° in reality. Sharing the size with other light types did not make much sense and meant the unit was unclear. Differential Revision: https://developer.blender.org/D4819
This commit is contained in:

committed by
Brecht Van Lommel

parent
2497ee31ec
commit
5ba1a6bee0
@@ -101,8 +101,10 @@ class DATA_PT_EEVEE_light(DataButtonsPanel, Panel):
|
||||
|
||||
col.separator()
|
||||
|
||||
if light.type in {'POINT', 'SPOT', 'SUN'}:
|
||||
if light.type in {'POINT', 'SPOT'}:
|
||||
col.prop(light, "shadow_soft_size", text="Radius")
|
||||
elif light.type == 'SUN':
|
||||
col.prop(light, "angle")
|
||||
elif light.type == 'AREA':
|
||||
col.prop(light, "shape")
|
||||
|
||||
|
Reference in New Issue
Block a user