5
$\begingroup$

I need to make a part of a texture glow slightly. Like Killer Crocs eyes (see image below) enter image description here

enter image description here

How do I do this?

I added a black and white texture (white for the glow. But then this happened. texture eye problem

There are strange colors around the eyes. Also how do I change the white glow to red?

$\endgroup$
2
  • 1
    $\begingroup$ related: blender.stackexchange.com/questions/35853/… and: blender.stackexchange.com/questions/15669/… $\endgroup$
    – user1853
    Commented Feb 5, 2016 at 17:27
  • $\begingroup$ you change the color in the shader itself - instead of using the texture, just chose which color you want. And there is no texture for the factor. I don't know, what the texture you use for the emission color is, but you might have plugged it into wrong shader - emission instead of mix $\endgroup$
    – aky-her
    Commented Feb 6, 2016 at 17:47

4 Answers 4

10
$\begingroup$

You have 3 options to create the glow:

  1. Define the glow with a texture and use that as Emission shader added to your model. The glow haze has to be "baked" into such texture. Limitation: There is no glow outside of object's silhouette.

    This is our starting point:

    enter image description here

    We need to define the glow with a glow texture - it should look like this:

    enter image description here

    • define the color of the glow (you can have different color glows in one texture)
    • size of glow haze with amount of blurring
    • and amount of glow with brightness


    Here we made both eyes glow. The emission is added to your previous shader:

    enter image description here

    Keep the emission strength between 0 and 1.

    Advanced:

    You don't have to necessarily make a glow texture, it is possible to extract it from your color texture with nodes inside Cycles to make a procedural glow:

    Let's make a basic Color Key node based off color difference:

    enter image description here

    Next we can key out multiple (or single) colors into a mask and use it on the original color texture to extract areas to glow (example with eyes and teeth):

    enter image description here

    Now only the glow haze is missing, which is easy to do. Get the ImageBlur node from B°wide node pack or make it yourself:

    enter image description here

    It is noising the image mapping vectors, so use like this:

    enter image description here

    Now we just need to combine (add together) the un-blurred and blurred to get our glow (only kept the eyes and deleted the teeth - was just too many nodes to show):

    enter image description here

    Use with your shader as before - this is the procedural result(s):

    enter image description here

2. Render a mask (with render layers for example) and add the glow in compositor with Glare node set to Fog Glow. There will be glow outside of object's silhouette but the result won't be physically correct.

It is very similar as with the cycles procedural nodes, you also don't have to render some glow mask but instead key it out from colors (which might not be accurate though because lighting can affect the model colors).

3. Add a volumetric fog environment into your scene to get physically correct glow. Your eyes have to have emissive material also but the glow haze is not painted in.

enter image description here

$\endgroup$
1
  • $\begingroup$ How to I add a mask to a texture? $\endgroup$ Commented Feb 6, 2016 at 7:43
4
$\begingroup$

make another texture where all the parts that should glow would be white and the rest black. Then when making the material add emission shader and mix it with the rest using the second texture as factor. this is the node tree (and render):enter image description here and this is the texture itself:enter image description here

$\endgroup$
2
  • $\begingroup$ I think that using another texture to mask out a property is certenly a good way to approach this problem, though the solution you propose is about emission which alone is not capable of creating a glowing area. Maybe I would add something about adding a volumetric atmosphere, or use the tex as mask in the compositor, or the glare filter. $\endgroup$
    – Carlo
    Commented Feb 5, 2016 at 17:09
  • $\begingroup$ I updated my question because I ran into a problem. $\endgroup$ Commented Feb 6, 2016 at 12:28
0
$\begingroup$

well if you split the textures from the face and the eyes you can simply make the eyes glow on that single texture, just by doing this.enter image description here

$\endgroup$
-2
$\begingroup$

Just go into edit mode select the faces you want press P select Separate Selection.

Go into Object Mode select the part you separated add a new material, add an Emission shader change the color and Strength and parent to the original piece.

That should work for v.2.7.9

$\endgroup$
1
  • 3
    $\begingroup$ It appears he has already a new material assigned to the eyes, the problem is getting a smooth transition between emissive material and normal material. $\endgroup$
    – kheetor
    Commented Apr 27, 2018 at 6:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .