@@ -19,7 +19,7 @@ public CameraSetting(string propertyName, object value,Type valueType)
1919
2020 public class Defaults
2121 {
22- public static Dictionary < string , CameraSetting > DefaultBloom ( )
22+ public static Dictionary < string , CameraSetting > Props ( )
2323 {
2424 Dictionary < string , CameraSetting > rtn = new ( ) ;
2525 rtn . Add ( "Radius" , new CameraSetting ( "_bloomRadius" , 5f , typeof ( System . Single ) ) ) ;
@@ -32,12 +32,6 @@ public static Dictionary<string,CameraSetting> DefaultBloom()
3232 rtn . Add ( "Downsample Pass" , new CameraSetting ( "_downsamplePass" , "Downsample13" , typeof ( PyramidBloomRendererSO . Pass ) ) ) ;
3333 rtn . Add ( "Upsample Pass" , new CameraSetting ( "_upsamplePass" , "UpsampleTent" , typeof ( PyramidBloomRendererSO . Pass ) ) ) ;
3434 rtn . Add ( "Final Upsample Pass" , new CameraSetting ( "_finalUpsamplePass" , "UpsampleTent" , typeof ( PyramidBloomRendererSO . Pass ) ) ) ;
35- return rtn ;
36- }
37-
38- public static Dictionary < string , CameraSetting > ColorBoost ( )
39- {
40- Dictionary < string , CameraSetting > rtn = new ( ) ;
4135 rtn . Add ( "Base Color Boost" , new CameraSetting ( "_baseColorBoost" , 1f , typeof ( System . Single ) ) ) ;
4236 rtn . Add ( "Base Color Boost Threshold" , new CameraSetting ( "_baseColorBoostThreshold" , 0.0f , typeof ( System . Single ) ) ) ;
4337 return rtn ;
@@ -47,14 +41,12 @@ public class Preset
4741 {
4842 public string Name ;
4943
50- public Dictionary < string , CameraSetting > Bloom ;
51- public Dictionary < string , CameraSetting > ColorBoost ;
44+ public Dictionary < string , CameraSetting > Props ;
5245
5346 public Preset ( string name = "Default" )
5447 {
5548 Name = name ;
56- Bloom = Defaults . DefaultBloom ( ) ;
57- ColorBoost = Defaults . ColorBoost ( ) ;
49+ Props = Defaults . Props ( ) ;
5850 }
5951 }
6052}
0 commit comments