- Home /
Alpha as Illumination AND Transparency?
I'm stumped when it comes to shaders-- sorry! I'm looking for a shader that has a self-illuminating property AND transparency. I've already done a bunch of digging and found this, but it's not exactly what I need. I think the biggest problem with this shader (in my case) is that alpha channel for the self-illum and transparency SHOULD BE inverted from one another, but this shader only uses 1 alpha. So (I think) what I need is a shader that can accomplish this using a diffuse texture, an illumination texture, and an alpha texture.
For some context, the effect is for windows on a building model. Most of the building material only uses a diffuse, but the windows are transparent so you can peek inside (preferably not cutout, something like 50% transparent), but also glow using self illumination.
Hope I've been clear enough! Thanks in advance!