Quantcast
Channel: Answers for "Applying a Color to a Texture's Alpha Channel"
Browsing latest articles
Browse All 6 View Live

Answer by Owen-Reynolds

In formal terms, you're using the Alpha channel as a mask. For example, the standard Unity specular shader expects the alpha channel to be a spec-map, instead of transparency. Assume `shirtCol` is the...

View Article


Answer by justinl

I am pretty certain that you cannot add colour to an alpha channel (I could be wrong as I am also new to game engine shaders but I've been working in 3D and 2D graphics for a while and I've never ever...

View Article


Answer by TeddyDief

I got it working in ShaderLab, everyone! Thank you for your help!! This Shader colors the material with _AlphaColor only where the texture is set to the alpha channel as a mask. It will appear...

View Article
Browsing latest articles
Browse All 6 View Live


Latest Images