Skip to content
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

How to make them work? #5

Open
DearFox opened this issue May 3, 2022 · 15 comments
Open

How to make them work? #5

DearFox opened this issue May 3, 2022 · 15 comments

Comments

@DearFox
Copy link

DearFox commented May 3, 2022

I was curious to try some of these, but some of them I don't understand how to enable.
i created a resource pack and created a folder \assets\minecraft\shaders
Should I throw it right at her? Or maybe I should create a core folder and put it in it like it is in other shaders?

image

@McTsts
Copy link
Owner

McTsts commented May 3, 2022

for this one the shaders need to be in shaders/core (as they are in the image), icons.png replaces the vanilla icons.png file which is located in textures/gui

@soshimee
Copy link

I'm confused as to where I put the offset in, I think it's in main but it doesn't really change anything. I already have a custom icons.png (but the hearts are unmodified)

@McTsts
Copy link
Owner

McTsts commented May 15, 2022

Im not sure what you mean

@soshimee
Copy link

TLDR IDK how to use this.

@McTsts
Copy link
Owner

McTsts commented May 15, 2022

Put the shaders into shaders/core and icons.png replaces the vanilla icons.png file which is located in textures/gui

@soshimee
Copy link

What do you mean by icons.png replaces vanilla icons.png? I don't use the vanilla one, my resource pack already has a custom one.

@McTsts
Copy link
Owner

McTsts commented May 15, 2022

Then you'll need to merge them

@McTsts
Copy link
Owner

McTsts commented May 15, 2022

The hearts have a special level of opacity so the shader can target them

@soshimee
Copy link

Oh okay, let me see.

@soshimee
Copy link

It works! Can I move other elements as well? Maybe give them different alpha? For some reason, it looks like the hearts have 1 less RGB value than the original but same alpha as the original, why is that?

@soshimee
Copy link

Oh I see, it's alpha in the background invisible pixels!

@soshimee
Copy link

Then why not set the RGB value in those instead of alpha? Then it won't be visible even with hundreds of adjustments (although no one would do that)

@McTsts
Copy link
Owner

McTsts commented May 15, 2022

unsure what you mean

@soshimee
Copy link

So like put RGBA (0, 0, 0, 1) for health and RGBA (1, 0, 0, 1) for hunger.

@soshimee
Copy link

Would there be a way to shift the hearts in a way so it disappears in the other direction? Maybe mirror it in the icons.png then re-mirror the entire thing? But not sure how...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants