Added hair, facial hair, magic mirror (#452)
* Added hair, facial hair, magic mirror * I forgot to commit the textures lmao * Use shader to fix hair color blending
This commit is contained in:
committed by
Pieter-Jan Briers
parent
b89615342e
commit
3a7a3a89ba
8
Resources/Shaders/hair.swsl
Normal file
8
Resources/Shaders/hair.swsl
Normal file
@@ -0,0 +1,8 @@
|
||||
// Additively blends the hair color onto the hair sprite.
|
||||
|
||||
uniform vec4 hairColor;
|
||||
|
||||
void fragment() {
|
||||
COLOR = texture(TEXTURE, UV);
|
||||
COLOR.rgb += hairColor.rgb;
|
||||
}
|
||||
Reference in New Issue
Block a user