3
$\begingroup$

I have a text object and I want to change the inner color of it, so that it is black. How can this be achieved?

enter image description here

So the inside of the S is black, and the outside it still blue?

Like this:

enter image description here

I've already done it but there should be a faster way to do it.

$\endgroup$
2
  • 1
    $\begingroup$ What do you mean by inside and outside? $\endgroup$
    – gandalf3
    Commented Jul 23, 2014 at 6:03
  • $\begingroup$ So like this ( check edited question ) $\endgroup$ Commented Jul 23, 2014 at 6:38

6 Answers 6

5
$\begingroup$

Here's a shader which does as ideasman42 suggests:

enter image description here

The values of the empty sockets in the multiply nodes are all 0.

This works by taking the dot product of 0,0,1 and 0,0,-1 in object space, and mixing two shaders based on the result.
In this case, parts of the surface facing in the +Z or -Z direction (in object space) will be black, while the rest of the surface will be blue.

Using a shader has the advantage of keeping the text editable as text.

$\endgroup$
1
  • $\begingroup$ "Using a shader has the advantage of keeping the text edible as text." I'm clearly not focused enough atm. $\endgroup$ Commented Feb 23, 2018 at 12:05
3
$\begingroup$

Blender doesn't have a direct way to do this currently.

Your options are:

  • Convert the text to a mesh, Then select faces and change their materials.
  • Use a shader which colors the faces differently based on their object space normal.
$\endgroup$
1
  • $\begingroup$ Ok , i made a duplicate and changed into mesh , the resized it. $\endgroup$ Commented Jul 23, 2014 at 5:16
2
$\begingroup$

Gandalf's answer is the cat's mewow, yet here's a simpler version that still works IF you don't need to rotate the text away from, in this example, the Y axis. If you rotate it, it breaks horribly.

enter image description here

$\endgroup$
1
$\begingroup$

Or you could make a World (or Object) space blend gradient ramp, play with the direction until it maps across the extrusion and then using Constant interpolation of the gradient ramp, adjust position of front face colour tab to be exactly on the edge of front face.

$\endgroup$
2
  • $\begingroup$ Welcome to the site :) We like more detailed answers here, could you add some examples, images, etc.? $\endgroup$
    – gandalf3
    Commented Jul 23, 2014 at 6:53
  • $\begingroup$ Welcome :) Gandalf is the man to go to for help $\endgroup$ Commented Jul 24, 2014 at 7:33
1
$\begingroup$

Currently, you can leave your text with 0 extrude width, add a Solidify Modifier and change the Material Index Offset for rim faces.

Text with Solidify Modifier and multiple materials.

$\endgroup$
1
$\begingroup$

Copy and paste the text. Use one object as the extruded part and one as the surface part. Then just change the color of each one. Then, I found this way to group them: To group... "press ctrl+G, you will notice a green outline appear around them. Now in future, if you wish to manipulate the whole group: Select a member of the group and then press shift+G and press Group and it will select every other object in that group which you can now drag around, scale etc"

$\endgroup$

You must log in to answer this question.

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