Описание
# 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:
- **Egregious Emissives** - EE made for the default textures of GTCEu
- **Egregious Emissives: Zedition** - EE made for **[the ZedTech resource pack](https://www.curseforge.com/minecraft/texture-packs/zedtech)**
- **Egregious Emissives: TEGBLON** - EE made for **[IGBLON's mashup pack](https://www.mediafire.com/file/fr6r42ckup64cpc/hopefully+this+isnt+copyrighted.zip/file)**.
### You need shaders that support labPBR in order for this resource pack to have an effect.
I highly recommend **[BSL Shaders](https://modrinth.com/shader/bsl-shaders)** or **[Complementary Reimagined](https://modrinth.com/shader/complementary-reimagined)**, but you can find all the shaderpacks that support labPBR [here](https://wiki.shaderlabs.org/wiki/LabPBR_Supported_Packs).
In case you're interested in how this pack gets generated, here is the script!
```py
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](https://github.com/Aproxia-dev/egregious-emissives-script)!