HomeJavaShadersCustom Damage Overlay Color
Custom Damage Overlay Color
ShadersJava

Custom Damage Overlay Color

by SuperAnt_ · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20.2–1.21.11 · Resource pack⬇ Download for 1.18–1.20.1 · Resource pack⬇ Download for 1.17–1.17.1 · Resource pack⬇ Download for 1.20.2–1.21.5 · Vanilla
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Custom Damage Overlay Color — screenshot 1

Custom Damage Overlay Color

This resource pack allows to change overlay color of all entities when they take damage. By defult this resource pack changes it to green, as an example.

Versions: 1.17 — 1.21.11

Works with both Optifine and Sodium.


How to change the color

Go into the resource pack and open a file assets/minecraft/shaders/include/change_damage_overlay.glsl, choose a color and put it into the second line of the file. For example if you want to change the color to purple (#AA00FF) with 50% transparency, the second line of the file would look like this:

vec4 RGBColor = vec4(170,0,255,127);

And if you want cyan (#00FFFF) color with the same transparency as in vanilla, it would look like this:

vec4 RGBColor = vec4(0,255,255,178);
Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more