@@ -256,6 +256,7 @@ public void DrawProperties()
256
256
EditorGUILayout . Slider ( _shadowDistanceX , 0 , 1 , "Reflection" ) ;
257
257
EditorGUILayout . PropertyField ( _shadowDistanceY , EditorGUIUtility . TrTempContent ( "Offset" ) ) ;
258
258
EditorGUILayout . PropertyField ( _shadowMirrorScale ) ;
259
+ EditorGUILayout . PropertyField ( _shadowFade ) ;
259
260
}
260
261
else
261
262
{
@@ -267,13 +268,14 @@ public void DrawProperties()
267
268
268
269
EditorGUILayout . PropertyField ( _shadowDistance ) ;
269
270
EditorGUILayout . PropertyField ( _shadowIteration ) ;
271
+ prevColorFilter = ( ColorFilter ) _shadowColorFilter . intValue ;
272
+ EditorGUILayout . PropertyField ( _shadowColorFilter ) ;
273
+ DrawColor ( _shadowColorFilter , _shadowColor , prevColorFilter , false ) ;
274
+ EditorGUILayout . PropertyField ( _shadowColorGlow ) ;
275
+ EditorGUILayout . PropertyField ( _shadowFade ) ;
270
276
}
271
277
272
- EditorGUILayout . PropertyField ( _shadowColorFilter ) ;
273
- DrawColorPickerField ( _shadowColor , false ) ;
274
- EditorGUILayout . PropertyField ( _shadowColorGlow ) ;
275
- EditorGUILayout . PropertyField ( _shadowFade ) ;
276
-
278
+ // Shadow blur intensity
277
279
switch ( ( SamplingFilter ) _samplingFilter . intValue )
278
280
{
279
281
case SamplingFilter . BlurFast :
0 commit comments