UE4/5 批量进行贴图Texture压缩、修改饱和度

该插件下载地址:

🍞正在为您运送作品详情https://mbd.pub/o/bread/ZZWYmpxw

适用于 UE4 4.25/4.26/4.27 UE5 以上版本

在Edit - Plugins中分别开启

插件 Python Editor Script Plugin

插件 Editor Scripting Utilites

如果会python代码,可以参照下面代码自己写一下:

python代码

1.获取到所选的texture

python 复制代码
# 获取当前的编辑器对象
editor_util = unreal.EditorUtilityLibrary.get_selected_assets()

2.获取列表的texture

python 复制代码
# 过滤该列表,使之只包含Texture2D贴图。

myTextures = unreal.EditorFilterLibrary.by_class(editor_util, unreal.Texture2D)

3.写一个方法,将texture进行maxsize的设置

python 复制代码
texture.set_editor_property('max_texture_size', MaxSize)

效果:

同时,可以配合editor blueprint ,添加到右键菜单中:

同时,你还可以继续修改其它参数,

如,批量修改贴图的饱和度:

相关推荐
AI视觉网奇12 小时前
ue 预览衣服
笔记·学习·ue5
DoomGT1 天前
Physics Simulation - Hit Event的触发机制
ue5·游戏引擎·虚幻·虚幻引擎·unreal engine
AI视觉网奇1 天前
ue 获取动画参数数据
笔记·学习·ue5
不含硫jun1 天前
windows中高斯泼建(gaussian-splatting)库安装 兼容vs2022 cuda11.8 UE5.3.2
pytorch·3d·ue5·visual studio
zhangzhangkeji1 天前
UE5 C++(62)json 转化成 map
ue5
zhangzhangkeji1 天前
UE5 C++(64)UGamelnstanceSubSystem。 UE五大子系统。UGameInstanceSubsystem 的继承链。如何清除日志。
ue5
AI视觉网奇2 天前
MetaHuman 常用脸部曲线
学习·ue5
Howrun7772 天前
虚幻引擎_核心框架
游戏引擎·虚幻
AI视觉网奇2 天前
Delaying 20 processes from spawning due to memory pressure
笔记·学习·ue5
zhangzhangkeji2 天前
UE5 C++(57-1)创建与删除文件夹,涉及类 FPlatformFileManager、IPlatformFile
ue5