- Home /
Question by
RealMTG · Jan 30, 2015 at 09:25 PM ·
shaderillumination
Illuminate specific parts of a texture?
Hi!
I have a texture with some "glowing" lights on it. I need those light parts to be illuminated but not the rest of the texture. Is there any way I can do this?
Thanks
Comment
Best Answer
Answer by RealMTG · Jan 30, 2015 at 09:56 PM
After some playing around I found an easy solution. Make one texture that is the full texture and then one with everything erased EXCEPT the pixels you want to be illuminated. Then get the Self-Illunim/Diffuse shader and in the first box assign the full texture and in the second one the illuminated pixels.