Перейти к содержимому
Mineforgian

Egregious Emissives

Procedurally generated labPBR emissives for GregTech CEu.

Загрузки
1K
Подписчики
12
Обновлён
8 января 2024 г.
Лицензия
LGPL-3.0-only

Опубликован 18 июня 2023 г.

Egregious Emissives!

A very simple resource pack that consists of procedurally generated emissive textures made for labPBR-compatible shaders.

There are 3 versions available as of right now:

You need shaders that support labPBR in order for this resource pack to have an effect.

I highly recommend BSL Shaders or Complementary Reimagined, but you can find all the shaderpacks that support labPBR here.

In case you're interested in how this pack gets generated, here is the script!
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)

And here is the source on GitHub!

Ченджлог

0.1.0-for-gtceu-2.8.5Релиз1.12, 1.12.1, 1.12.2 · 8 января 2024 г.
  • Updated for GTCEu 2.8.5
0.1.0-for-gtceu-2.6.2Релиз1.12, 1.12.1, 1.12.2 · 22 июня 2023 г.
  • Removed "smoothness" from the emissives
  • Changed the procedure to take brightness in consideration when generating the new texture
0.1.0-for-zedtech-2.5.6Релиз1.12, 1.12.1, 1.12.2 · 22 июня 2023 г.

The initial release of Egregious Emissives for ZedTech 2.5.6

⚠️ This is only the emissive overlays. Put this resource pack above ZedTech ⚠️

0.1.0-for-igblonРелиз1.12, 1.12.1, 1.12.2 · 22 июня 2023 г.

The initial release of Egregious Emissives for IGBLON's mashup pack

Why's the file named like that? Because I guess you could say that...

This
Edition
Goes
By
Lots
Of
Names

Yeah I know, bad pun, sorry...

⚠️ This is only the emissive overlays. Put this resource pack above IGBLON's mashup pack ⚠️

0.0.1-2.6.2Бета1.12, 1.12.1, 1.12.2 · 18 июня 2023 г.

Initial release

Комментарии

Загружаем…