Join EJ Hassenfratz for an in-depth discussion in this video Using the Spline shader to add text to the ribbon texture, part of Mograph Techniques: Mixing 2D and 3D with After Effects and CINEMA 4D.
Now we're going to add some text to our title ribbon. Normally you would go into Photoshop to create the material, import it into Cinema 4D and apply it as a material to the object. Or try to create and composite it in After Effects. But I'll show you how to create text as a material, totally inside of Cinema 4D. So let's go ahead and open up our light teal material here. This is going to be the material we will be applying our text to. And we're going to go to our color channel and we're going to go to our texture and click on this tab.
We're going to go down to Effects > Spline. Now, let me change this view here. And I'll change it to a plain so you can see that we now have this AB letter applied as a material. You can also see it on our ribbon here as well. So let's go and click on our spline shader here. And we have all these options. And here is our text option down here. So we don't need ABC. We'll change this from ABC to dynamics as we'll be demonstrating using dynamics in this scene.
But I'll show you that later on. Now, let's change our alignment to middle, or center. And let's change the height to about 80. And we'll bring up this H spacing to about four, so that'll add a little bit of kerning as you can see, being updated here. So we don't need any outlines, so let's bring our line width all the way down to 0%, and you'll see our text just completely disappear.
So what we need to do is actually enable a fill. So check on this Fill option and this Use Fill Color and that will allow us to be able to find a fill texture up here. So, we'll go up to this tab and click on that and we'll just choose a color shader and now we can actually choose a color. And white's fine. So we also need to define a background texture, and we'll go ahead and create another color shader. And what we're going to do is just copy the color from our colors channel here, go into our spline, go into the background textured color shader, and then just paste it into the color.
Now you can see our text is white and our background is that original teal color that we started out with. So you can see our text is incorrectly mapped onto our ribbon, so let's go ahead and start adjusting our offsets and our scale in our spline shader options. So in X Offset, let's change that from zero to 50. Y Offset we'll change to 80. We'll change the X Scale to ten. And we'll leave our Y Scale as it is. So you'll see that our text is framed, but it's completely upside down.
So let's go and close out our Material tab, and we'll go to our Texture tag here. And, to fix this, to flip it the right side up, we'll just go and change our length U to negative 100 and our length V to negative 100. And, that'll flip our texture back into place. So, now we have our text right side up. So now let's go back into our texture, and we'll copy this whole entire setup and paste it to our Luminance channel.
And now I'll hit Render. And you'll see now we have text applied as a material onto our ribbon. So by using the spline shader, you don't have to jump into Photoshop to create your own text, save it out, and import it to apply it to an object in Cinema 4D. The best part is now you can actually go in and change that text if you want by simply editing that text field in the spline shader.
- Adding materials, lights, and camera to a scene
- Using bend deformers
- Using the spline shader to add text
- Applying dynamics to text
- Importing CINEWARE layers into After Effects