Unofficial site, not affiliated with modrinth.com.What is this?
Ресурспаки/Egregious Emissives
Egregious Emissives

Egregious Emissives

Procedurally generated labPBR emissives for GregTech CEu.

1.3K
12

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!

Совместимость

Minecraft: Java Edition

Ссылки

Сведения

Лицензия:
Опубликован:3 года назад
Обновлён:2 года назад
ID проекта:
Главная