Take the 2-minute tour ×
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It's 100% free, no registration required.

I have created this with cycles:

enter image description here

But the edge between the glowing and non glowing materials is very sharp. The material was manually applied to faces in edit mode. Is there any way I can smooth the edge between them in cycles?

share|improve this question
add comment

1 Answer 1

up vote 6 down vote accepted

Smoothing the transition between materials:

You can use a texture to mix the "materials" (everything is actually in one material) instead.

Use a wave texture as the mix factor of a mix node mixing the two node setups used to make the bright strips and the dark surface of the ball (everything is one one material datablock).

enter image description here

By using the color ramp node to adjust the falloff of the wave texture, you can control the sharpness of the transition.


Also see

Other techniques:

Some other things which may make the transition a little more natural:

  • Using separate materials based on mesh topology (like in your question), extrude the faces with the emission material in a bit:

    1. Extrude (E)

    2. Cancel the grab part of the extrusion (Esc)

    3. Scale along the normals (AltS).

    This may give a more natural looking separation between the two:

    enter image description here

  • Use the material index pass to create a bit of glare in the compositor:

    1. Enable the pass in Renderlayers > Passes

    2. Set the pass index of the emission material to a number that no other material has as its pass index (though we can use one index for all the different colors of the emission material).

    3. Set up the composite nodes (click for bigger image):

    enter image description here

    Make sure to set the ID Mask node to the same index as the material index defined before.

share|improve this answer
    
Never knew about the Alt-S trick. Thanks –  WorldSEnder May 18 at 11:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.