File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
com.unity.render-pipelines.high-definition/Editor/Lighting Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public static IntScalableSetting ShadowResolution(HDLightType lightType, HDRende
28
28
29
29
enum ShadowmaskMode
30
30
{
31
- ShadowMask ,
31
+ Shadowmask ,
32
32
DistanceShadowmask
33
33
}
34
34
@@ -1086,14 +1086,14 @@ static void DrawShadowMapContent(SerializedHDLight serialized, Editor owner)
1086
1086
EditorGUI . BeginProperty ( nonLightmappedOnlyRect , s_Styles . nonLightmappedOnly , serialized . nonLightmappedOnly ) ;
1087
1087
{
1088
1088
EditorGUI . BeginChangeCheck ( ) ;
1089
- ShadowmaskMode shadowmask = serialized . nonLightmappedOnly . boolValue ? ShadowmaskMode . ShadowMask : ShadowmaskMode . DistanceShadowmask ;
1089
+ ShadowmaskMode shadowmask = serialized . nonLightmappedOnly . boolValue ? ShadowmaskMode . Shadowmask : ShadowmaskMode . DistanceShadowmask ;
1090
1090
shadowmask = ( ShadowmaskMode ) EditorGUI . EnumPopup ( nonLightmappedOnlyRect , s_Styles . nonLightmappedOnly , shadowmask ) ;
1091
1091
if ( EditorGUI . EndChangeCheck ( ) )
1092
1092
{
1093
1093
Undo . RecordObjects ( owner . targets , "Light Update Shadowmask Mode" ) ;
1094
- serialized . nonLightmappedOnly . boolValue = shadowmask == ShadowmaskMode . ShadowMask ;
1094
+ serialized . nonLightmappedOnly . boolValue = shadowmask == ShadowmaskMode . Shadowmask ;
1095
1095
foreach ( Light target in owner . targets )
1096
- target . lightShadowCasterMode = shadowmask == ShadowmaskMode . ShadowMask ? LightShadowCasterMode . NonLightmappedOnly : LightShadowCasterMode . Everything ;
1096
+ target . lightShadowCasterMode = shadowmask == ShadowmaskMode . Shadowmask ? LightShadowCasterMode . NonLightmappedOnly : LightShadowCasterMode . Everything ;
1097
1097
}
1098
1098
}
1099
1099
EditorGUI . EndProperty ( ) ;
You can’t perform that action at this time.
0 commit comments