Skip to content

Commit 961952b

Browse files
committed
Fixed rendering of UE4 translucency
"Transmittance" texture parameter has been considered as "translucency".
1 parent b827845 commit 961952b

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

Unreal/UnRenderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,7 @@ void UMaterialInstanceConstant::GetParams(CMaterialParams &Params) const
22022202
CUBEMAP (appStristr(Name, "cube"), 100);
22032203
CUBEMAP (appStristr(Name, "refl"), 90);
22042204
OPACITY (appStristr(Name, "opac"), 90);
2205-
OPACITY (appStristr(Name, "trans") && !appStristr(Name, "transmission"), 80);
2205+
OPACITY (appStristr(Name, "trans") && !appStristr(Name, "transm"), 80);
22062206
OPACITY (appStristr(Name, "opacity"), 100);
22072207
OPACITY (appStristr(Name, "alpha"), 100);
22082208
//?? OPACITY (appStristr(Name, "mask"), 100);

umodel

0 Bytes
Binary file not shown.

umodel.exe

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)