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 ,添加到右键菜单中:

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

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

相关推荐
Zhichao_9721 小时前
【UE5.3 C++】ARPG游戏 01-创建天空、地形和植被
ue5
zhangzhangkeji21 小时前
cesium126,230719,远程工作 Editor 里看不到地形:就是 UE 编辑器用客户端登录远程服务器进行编码时,看不到地图的实时更新
ue5
远离UE41 天前
UE5 Computer Shader 概念整理
ue5
曼巴UE51 天前
UE C++ FName, FText 测试
服务器·c++·ue5
zhangzhangkeji1 天前
cesium126,240621,Ce for Ue 通过 GeoServer 来加载 Shapefile - 1:
ue5
吃饭不结张2 天前
UE像素流多开与部署
ue5
AI视觉网奇2 天前
ue 加载 uasset
ue5
曼巴UE52 天前
UE C++ 字符串编码转码
c++·ue5
道法自然04022 天前
[CARLA系列--05]如何在Carla中去调用传感器模型--Radar篇
人工智能·自动驾驶·ue4
AI视觉网奇2 天前
ue 蓝图 学笔记
笔记·ue5