Egregious Emissives
Procedurally generated labPBR emissives for GregTech CEu.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Egregious Emissives
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: - IGBLON's mashup pack - EE made for the default textures of GTCEu - IGBLON's mashup pack - EE made for IGBLON's mashup pack - IGBLON's mashup pack - EE made for IGBLON's mashup pack.
You need shaders that support labPBR in order for this resource pack to have an effect.
I highly recommend Complementary Reimagined 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!
```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!