@@ -21,6 +21,7 @@ public class TextureTool : EngineModule
|
||||
|
||||
bool useDirectXTex = false;
|
||||
bool useStb = false;
|
||||
bool useExr = options.Target.IsEditor;
|
||||
|
||||
switch (options.Platform.Target)
|
||||
{
|
||||
@@ -58,6 +59,10 @@ public class TextureTool : EngineModule
|
||||
options.PrivateDependencies.Add("bc7enc16");
|
||||
}
|
||||
}
|
||||
if (useExr)
|
||||
{
|
||||
options.PrivateDependencies.Add("tinyexr");
|
||||
}
|
||||
if (options.Target.IsEditor && astc.IsSupported(options))
|
||||
{
|
||||
// ASTC for mobile (iOS and Android)
|
||||
|
||||
Reference in New Issue
Block a user