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

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

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

相关推荐
directx3d_beginner1 天前
25,怪物受伤害和受力
ue5
directx3d_beginner2 天前
23,怪物血量改为C++
ue5
远离UE42 天前
UE5 compute shader 原子加
开发语言·c++·ue5
朗迹 - 张伟2 天前
UE5.7 PCG从入门到精通系列课程【第一课:基础介绍】
ue5·pcg
directx3d_beginner3 天前
22,攻击检测改为C++
ue5
_helen_5205 天前
unreal engine 虚拟现实 + airsim
游戏引擎·vr·虚幻
HAPPY酷5 天前
【ROS2】 机械臂架构 vs UE5 游戏开发架构 终极对照表
架构·ue5
DoomGT5 天前
UE5 - 制作游戏中切换窗口后游戏自动暂停功能
游戏·ue5·ue4·虚幻·虚幻引擎·unreal engine
远离UE47 天前
UE5 World Partition
ue5
远离UE49 天前
UE5 简单 Mesh Shader 制作流程
ue5