-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emissive Textures Support for Shaders #3
Comments
If you can point me toward a resource that will show me how to add support for this then I will do my best to add it. |
This seems like it: Tutorial |
so the shader will recognize a folder called |
test the version I just pushed because I don't have my game setup to test emissive textures |
Taken from reddit: "Long answer: An emissive texture overlays on top of any already existing in-world texture. So if you add a custom item texture (CIT) depending on the item's name, you can just make parts of that texture emissive by adding an emissive map for that item. Example: My pack has a unique diamond_sword.png texture. I've added a custom variant for diamond swords when they're renamed to "Command Block Sword", which uses the command_block_sword.png texture in the CIT folder of my resource pack. That folder also contains a command_block_sword_emissive.png texture (where "_emissive" is specified in my pack's emissive.properties file), which applies an emissive map on top of the command_block_sword.png file - which only shows up when a diamond sword has a custom name." So possibly just add the emissive texture to the same folder as the regular? I'm not sure. |
yeah i figured that part out, i just don't have a way to quickly test it |
I can test it if you'd like. If all I need to do is install it. |
wait, i need to push a fix first |
go to |
Sorry, I'm having trouble finding where that is. |
the folder called |
I have uploaded it to curseforge as a beta version, you can get it there |
To be fair I am also using Sodium+Iris Shaders and not Optifine, so I can try that in a sec. |
I seem to be crashing when loading into world with Optifabric, so I can't test Optifine. |
does sodium + iris shaders use the optifine system for emissive textures? |
can't find any documentation anywhere for how to add emissive textures to iris + sodium, are you using a resource pack? |
I'm not sure, as Complementary Shaders is what give ores Emissive properties, not resource pack. |
I know what sodium and optifine are, I just don't know where your current emissive ores are coming from so idk how to make mine do the same |
idk if its even something I can enable on my end |
I was just thinking that, might be up to the Complimentary Shaders Devs to do that on their end. |
No worries, you might be able to ask in their discord how a mod could add emissive compatibility, if you find out any more info, feel free to create a new issue |
According to the Discord, there's no way of adding it unless the shader natively supports it. |
No, you don't need shaders for this, you can just use optifine. |
Yes, but neither of those affect modded ores. Shaders also add the emissive textures which again, don't affected modded ores unless implemented to do so natively. I'm not gonna use Optifine anyways because Sodium gives me better performance, 200+FPS with shaders on, while Optifine stays around 70-80 FPS with shaders. |
This is the official resource pack for BetterNether mod that adds emissive textures to mod's blocks. No idea if there is some code in the mod to make this possible. |
Ores do not support Emissive Textures in Shaders (Shaders in pictures is Complementary Shaders)
The text was updated successfully, but these errors were encountered: