#Emissive item/block textures

17 messages · Page 1 of 1 (latest)

normal swallow
#

How can I make my items emissive (or define emissive pixels for partial emission)?

I'd like to know where to start with this, and how I can do it in both Sodium/Iris and Minecraft's core shaders.

prisma rain
#

If you're on 1.21.4+, each cuboid in the model can take a light_emission parameter 0-15

#

To have partial emission, overlay two cuboids, make the second transparent and emissice

#

Although it doesn't work with generated item models

normal swallow
calm forum
#

@normal swallow its a bit of a pain, but you can import 2d textures into blockbench, export it as json, and add the light_emission parameter to whichever elements you want.

normal swallow
calm forum
#

Yeah it works in vanilla, all you have to do is export the json to assets/mod_name/models/item/item_name.json and add the light_emission parameter as seen in https://minecraft.wiki/w/Model

#

Only downside is that it still shades a little with orientation even with shading disabled but oh well

#

I'm sure theres another way to do it where there is absolutely zero color change but I imagine that would be much more in depth

normal swallow
#

I'll give it a try, thank you.

calm forum
#

sure thing, let me know if you have issues

normal swallow
#

I tried using Continuity which uses OptiFine's format but it ended up not working at all

#

I don't mind adding a dependency mod for optional emissive textures

#

vanilla is just too much of a pain to deal with when I'm in a modded environment already

calm forum
#

I know lambdynamiclights effectively achieves this but I dont know if you can disable the actual luminosity and just keep the emission but maybe its worth looking into if you want the whole texture to be emissive