@@ -47,12 +47,12 @@ FRPRUberMaterialParameters::FRPRUberMaterialParameters()
47
47
48
48
, Reflection_Metalness( TEXT(" reflection.metalness" ), RPRX_UBER_MATERIAL_REFLECTION_METALNESS, ESupportMode::FullySupported, 1.0f, ERPRMCoMapC1InterpretationMode::AsFloat4, FCanUseParameter::CreateStatic(CanUseOnlyIfValidModeSet, &Reflection_Mode, (uint8) ERPRReflectionMode::Metalness))
49
49
, Reflection_Ior( TEXT(" reflection.ior" ), RPRX_UBER_MATERIAL_REFLECTION_IOR, ESupportMode::PreviewNotSupported, 1.5f, ERPRMCoMapC1InterpretationMode::AsFloat4, FCanUseParameter::CreateStatic(CanUseOnlyIfValidModeSet, &Reflection_Mode, (uint8) ERPRReflectionMode::PBR))
50
-
50
+
51
51
, Reflection_Mode(FRPRMaterialEnum::Create<ERPRReflectionMode>(TEXT(" reflection.mode" ), RPRX_UBER_MATERIAL_REFLECTION_MODE, ESupportMode::PreviewNotSupported, ERPRReflectionMode::PBR))
52
52
53
53
// Refraction
54
- , Refraction_Weight( TEXT(" refraction.weight" ), RPRX_UBER_MATERIAL_REFRACTION_WEIGHT, ESupportMode::PreviewNotSupported, 0.0f, ERPRMCoMapC1InterpretationMode::AsFloat4)
55
54
, Refraction_Color( TEXT(" refraction.color" ), RPRX_UBER_MATERIAL_REFRACTION_COLOR, ESupportMode::PreviewNotSupported, 1.0f)
55
+ , Refraction_Weight( TEXT(" refraction.weight" ), RPRX_UBER_MATERIAL_REFRACTION_WEIGHT, ESupportMode::PreviewNotSupported, 0.0f, ERPRMCoMapC1InterpretationMode::AsFloat4)
56
56
, Refraction_Roughness( TEXT(" refraction.roughness" ), RPRX_UBER_MATERIAL_REFRACTION_ROUGHNESS, ESupportMode::PreviewNotSupported, 0.5f, ERPRMCoMapC1InterpretationMode::AsFloat4)
57
57
, Refraction_Absorption_Color( TEXT(" refraction.absorptionColor" ), RPRX_UBER_MATERIAL_REFRACTION_ABSORPTION_COLOR, ESupportMode::PreviewNotSupported, 0.0f)
58
58
, Refraction_Absorption_Distance( TEXT(" refraction.absorptionDistance" ), RPRX_UBER_MATERIAL_REFRACTION_ABSORPTION_DISTANCE, ESupportMode::PreviewNotSupported, 0.0f, ERPRMCoMapC1InterpretationMode::AsFloat4)
@@ -61,18 +61,20 @@ FRPRUberMaterialParameters::FRPRUberMaterialParameters()
61
61
, Refraction_IsThinSurface( TEXT(" refraction.thinSurface" ), RPRX_UBER_MATERIAL_REFRACTION_THIN_SURFACE, ESupportMode::PreviewNotSupported, false)
62
62
63
63
// Coating
64
- , Coating_Weight( TEXT(" coating.weight" ), RPRX_UBER_MATERIAL_COATING_WEIGHT, ESupportMode::PreviewNotSupported, 0.0f, ERPRMCoMapC1InterpretationMode::AsFloat4)
65
64
, Coating_Color( TEXT(" coating.color" ), RPRX_UBER_MATERIAL_COATING_COLOR, ESupportMode::PreviewNotSupported, 1.0f)
66
65
, Coating_Transmission_Color( TEXT(" coating.transmissioncolor" ), RPRX_UBER_MATERIAL_COATING_TRANSMISSION_COLOR, ESupportMode::PreviewNotSupported, 1.0f)
67
66
, Coating_Normal( TEXT(" coating.normal" ), RPRX_UBER_MATERIAL_COATING_NORMAL, ESupportMode::PreviewNotSupported, FCanUseParameter())
68
67
, Coating_Thickness( TEXT(" coating.thickness" ), RPRX_UBER_MATERIAL_COATING_THICKNESS, ESupportMode::PreviewNotSupported, 1.0f)
68
+ , Coating_Weight( TEXT(" coating.weight" ), RPRX_UBER_MATERIAL_COATING_WEIGHT, ESupportMode::PreviewNotSupported, 0.0f, ERPRMCoMapC1InterpretationMode::AsFloat4)
69
69
, Coating_Roughness( TEXT(" coating.roughness" ), RPRX_UBER_MATERIAL_COATING_ROUGHNESS, ESupportMode::PreviewNotSupported, 0.5f, ERPRMCoMapC1InterpretationMode::AsFloat4)
70
70
, Coating_Ior( TEXT(" coating.ior" ), RPRX_UBER_MATERIAL_COATING_IOR, ESupportMode::PreviewNotSupported, 1.5f, ERPRMCoMapC1InterpretationMode::AsFloat4)
71
+
71
72
, Coating_Mode(FRPRMaterialEnum::Create<ERPRCoatingMode>(TEXT(" coating.mode" ), RPRX_UBER_MATERIAL_COATING_MODE, ESupportMode::PreviewNotSupported, ERPRCoatingMode::PBR))
72
73
73
74
// Emission
74
- , Emission_Weight( TEXT(" emission.weight" ), RPRX_UBER_MATERIAL_EMISSION_WEIGHT, ESupportMode::FullySupported, 0.0f, ERPRMCoMapC1InterpretationMode::AsFloat4)
75
75
, Emission_Color( TEXT(" emission.color" ), RPRX_UBER_MATERIAL_EMISSION_COLOR, ESupportMode::FullySupported, 1.0f)
76
+ , Emission_Weight( TEXT(" emission.weight" ), RPRX_UBER_MATERIAL_EMISSION_WEIGHT, ESupportMode::FullySupported, 0.0f, ERPRMCoMapC1InterpretationMode::AsFloat4)
77
+
76
78
, Emission_Mode(FRPRMaterialEnum::Create<ERPREmissionMode>(TEXT(" emission.mode" ), RPRX_UBER_MATERIAL_EMISSION_MODE, ESupportMode::FullySupported, ERPREmissionMode::SingleSided))
77
79
78
80
// Miscs
0 commit comments