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

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

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

相关推荐
远离UE418 小时前
UE5 GPU内部异步
ue5
1204157137 肖哥18 小时前
UE5 PCG PCGBlueprintElement简介
ue5
dong13269718 小时前
UE5FPS游戏开发教程(四)
ue5
dong1326972 天前
UE5FPS游戏开发教程(三)
ue5
日月云棠2 天前
UE5源码分析之Editor——AnimationBlueprintLibrary模块全面分析
ue5
远离UE42 天前
UE5 ECS 原理
ue5
小猴子爱上树3 天前
跨境电商图片翻译工具推荐:跨马翻译批量处理多语言主图
贴图
mengzhi啊4 天前
UE5 把剑绑定到骨骼-给要播放的动画及动画蒙太奇添加武器
ue5
directx3d_beginner4 天前
32,每帧更新怪物朝向改为c++
ue5
日月云棠4 天前
UE5源码分析之Editor——AnimationEditor模块全面分析
ue5