Egregious Emissives

资源包

· 作者 vivivivixen

为 GregTech CEu 生成的程序化实验室 PBR 自发光贴图。

0 本站下载 0 关注 更新于 2 年前

最新 0.1.0-for-gtceu-2.8.5 · 1.12.2 · Minecraft

一键开服(送7天)

Egregious Emissives!

一个非常简单的资源包,包含为兼容 labPBR 的光影而生成的程序化自发光纹理。

目前提供 3 个版本:

  • Egregious Emissives - 专为 GTCEu 默认纹理设计的 EE
  • Egregious Emissives: Zedition - 专为 the ZedTech 资源包 设计的 EE
  • Egregious Emissives: TEGBLON - 专为 IGBLON 的混合包 设计的 EE。

你需要使用支持 labPBR 的光影才能使此资源包生效。

我强烈推荐 BSL Shaders 或 Complementary Reimagined,但你可以在这里找到所有支持 labPBR 的光影包。

如果你对这个包的生成方式感兴趣,这里是脚本!
from PIL import Image
import glob
from os import makedirs

keywords = ["bloom", "emissive"]
files = []
bad_keywords = []

for kw in keywords:
    files += glob.glob("./src/**/*{}*.png".format(kw), recursive=True)
    bad_keywords.append("_no_{}".format(kw))


for file in files:
    if not any(kw in file for kw in bad_keywords):
        img = Image.open(file)

        blank = Image.new('RGBA', img.size, '#00000000')
        emissive = Image.new('RGBA', img.size, '#000000fe')

        overlay = Image.composite(img.convert("LA"), blank, img.convert("L"))

        folders = file.split("/")
        folders[1] = "dst"
        folders[-1] = folders[-1].replace(".png", "_s.png")
        output = "/".join(folders)
        folders.pop()

        outputImg = Image.composite(emissive, blank, overlay)

        makedirs("/".join(folders), exist_ok=True)
        outputImg.save(output, 'png')
        print(file + " -> " + output)

源代码位于 GitHub!

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源