You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Implement angular mip gen setting to support legacy path. Code by Alexander Suvorov.
#rb Julien.StJean #jira UE-118357 #rnx #preflight 614999f1116f2a000183d6f6 [CL 17581034 by Kevin Ortegren in ue5-main branch]
This commit is contained in:
@@ -2607,7 +2607,15 @@ private:
|
||||
// Generate any missing mips in the chain.
|
||||
if (NumOutputMips > OutMipChain.Num())
|
||||
{
|
||||
GenerateMipChain(BuildSettings, OutMipChain.Last(), OutMipChain);
|
||||
// Do angular filtering of cubemaps if requested.
|
||||
if (BuildSettings.MipGenSettings == TMGS_Angular)
|
||||
{
|
||||
GenerateAngularFilteredMips(OutMipChain, NumOutputMips, BuildSettings.DiffuseConvolveMipLevel);
|
||||
}
|
||||
else
|
||||
{
|
||||
GenerateMipChain(BuildSettings, OutMipChain.Last(), OutMipChain);
|
||||
}
|
||||
}
|
||||
check(OutMipChain.Num() == NumOutputMips);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user