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

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

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

相关推荐
AA陈超11 分钟前
ASC学习笔记0004:通知相关方能力规格已被修改
c++·笔记·学习·游戏·ue5·游戏引擎·虚幻
酷柚易汛智推官4 小时前
UE5.7:3D 内容生产的新范式
3d·ue5·酷柚易汛
B0URNE8 小时前
什么是虚拟现实(VR)?
unity·ue5·vr
曹勖之1 天前
UE5 的 Waterline Pro 6的浮力作用机制解析
ue5
曹勖之1 天前
UE5 UDS(Ultra Dynamic Sky)动态天气天空如何采用官方光源和雾
ue5
zhangzhangkeji1 天前
相机与动画 - 3:引入相机到动画,摇臂与导轨的使用,以及动画连接,动画的过渡轨道,从关卡蓝图中引用场景中对象的方法,
ue5
SpiderCodeJ1 天前
【UE5】- VR小技巧 :用PC处理代替频繁使用VR头显开发
ue5·vr·虚拟现实
啦啦9117142 天前
【工具】PixPin 电脑实用截图工具!带免费OCR截图/贴图/录屏/文字识别
ocr·贴图
AA陈超3 天前
虚幻引擎5 GAS开发俯视角RPG游戏 P07-11 实现自动运行
c++·游戏·ue5·游戏引擎·虚幻
我希望的一路生花3 天前
Blender科幻机甲娘莉莉魅魔人物角色3D模型带骨骼动作绑定带贴图
3d·blender·贴图