Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ShockMicro/VanillaDynamicEmissives
Allows for dynamic emissive textures in vanilla Minecraft.
https://github.com/ShockMicro/VanillaDynamicEmissives
Last synced: about 1 month ago
JSON representation
Allows for dynamic emissive textures in vanilla Minecraft.
- Host: GitHub
- URL: https://github.com/ShockMicro/VanillaDynamicEmissives
- Owner: ShockMicro
- License: mit
- Created: 2021-07-16T05:19:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-02T00:48:27.000Z (7 months ago)
- Last Synced: 2024-09-03T07:01:58.447Z (4 months ago)
- Language: GLSL
- Homepage:
- Size: 731 KB
- Stars: 74
- Watchers: 6
- Forks: 6
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcc - VanillaDynamicEmissives - a simple way to make emissive textures without Optifine (Uncategorized / Uncategorized)
README
# VanillaDynamicEmissives
Allows for dynamic emissive textures in vanilla Minecraft.### How to Use
If you want to make a solid texture emissive, just set the alpha value to 252 in your favorite image editor. You can see an example of this with redstone ore.
Translucent textures require a bit more work. Check the example for ice to get a general idea of how this works.### Functions
`return inputColor;` means you're returning the color of the texture without any lighting applied. This is used for making something fully emissive.
`return apply_partial_emissivity();` means the blocks with that alpha are only partially emissive, tinting it with a specific color of light. You can find a handy link to a table of light colors here: https://minecraft.fandom.com/wiki/Light?file=1.9_lighting_curves_%2528gamma%253D0%2529.png. Remember, colors in OpenGL are formatted as RGB values from 0 to 1!
`return inputColor * lightColor;` means you're simply returning the texture with its proper lighting. This is the default case.### NOTICE
This pack probably won't work with Optifine! If it does, good for you! This pack is supposed to be installed in the RESOURCE PACKS folder, using vanilla Minecraft on 1.20.2, because it is a RESOURCE PACK. If there's still a bug after doing everything correctly, report it in the issues tab at https://github.com/ShockMicro/VanillaDynamicEmissives/issues.