You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Change how thickness is setup on Strata material.
* Add a new thickness input on the root node for thin surface * Add a new thickness input on vertical layer operator, to provide the thickness of the 'layered' material * Mark Slab thickness input as deprecated, for converting existing asset once this CL is checked in. #rb sebastien.hillaire #jira none #preflight 638903020e4613faedc9e8be [CL 23358938 by Charles deRousiers in ue5-main branch]
This commit is contained in:
@@ -597,6 +597,8 @@ public:
|
||||
break;
|
||||
case MP_ShadingModel:
|
||||
return MaterialInterface->CompileProperty(&ProxyCompiler, MP_ShadingModel);
|
||||
case MP_SurfaceThickness:
|
||||
return MaterialInterface->CompileProperty(&ProxyCompiler, MP_SurfaceThickness);
|
||||
case MP_FrontMaterial:
|
||||
return MaterialInterface->CompileProperty(&ProxyCompiler, MP_FrontMaterial);
|
||||
default:
|
||||
@@ -619,6 +621,10 @@ public:
|
||||
{
|
||||
return MaterialInterface->CompileProperty(Compiler, MP_ShadingModel);
|
||||
}
|
||||
else if (Property == MP_SurfaceThickness)
|
||||
{
|
||||
return MaterialInterface->CompileProperty(Compiler, MP_SurfaceThickness);
|
||||
}
|
||||
else if (Property == MP_FrontMaterial)
|
||||
{
|
||||
return MaterialInterface->CompileProperty(Compiler, MP_FrontMaterial);
|
||||
|
||||
Reference in New Issue
Block a user