PDA

View Full Version : Toon problem ( shadeless )



lucaun
28-Apr-06, 14:44
how can I put shadows in when i'm working whit the shadeless on? and one more thing, how can i remove this lines inside the objects?

the image is attched (is a donkey in a bed)

sorry for beeing so stupid...

forTe
28-Apr-06, 17:57
Shadows imply shading as shadows are what create the gradient in colors (well in more detail its actually the light that creates the shadow which creates the gradient). So a shadeless object cannot have a shadow as that would be redundant. However, what I assume you are going for is a black shadow without gradients. There are ways to achieve this effect including:

Making a 'shadow mesh' where you actually model and texture the shadow.
Enable and experiment with raytracing can help as well when requiring and sharp shadow (often off of area lamps).

As for the lines on your model, try clicking the 'Set Smooth' option in the edit panel with either the object in object mode or all faces selected in edit mode.

CD38
28-Apr-06, 18:54
This may be advanced for you and it's a bit tedious, but you can also produce shadows on your shadeless object with multiple rendering passes. Create and save one render as you show here. For the second pass, make the World color pure white (F8 panels), and for all materials in your scene, turn off Shadeless and turn on Only Shadow in the Mirror Transp tab. Render and (if you're using lamps that actually cast shadows) you should see only the shadows. Save this render too.

Now you can multiply this image with the other. In Photoshop or the Gimp you would load them as layers and set the blending mode to Multiply. You can also use Blender's sequence editor. Load both images (Add->Images), Shift-select both strips. Add->Effect->Multiply and put the Multiply strip above the first two. In the Render Panels turn on Do Sequence and render.

The developers are apparently working on ways to make rendering in passes more automatic, but this works for me now in 2.41.

kattkieru
30-Apr-06, 14:58
As far as shadows go, the above suggestions are overkill.

First of all, turn off shadeless textures. The best method I've found so far is actually to use ramps in combination with a single sun light. By setting the ramp shader input to "Energy" and making a ramp with only two colors, split in the middle, you can get "shadows" that look like perfect toon shadows on objects while maintaining a high level of control. You then boost the Emit value of the shader until you achieve the intended effect.

It's the effect I used in my firefox flicks entry, and it works quite well (http://ministryofdoom.org/cloud/foxfire/2006/03/progress-update.html).

Search around for the "ramps" tutorial video -- it'll explain everything you need to really achieve a good toon look.

Robin
01-May-06, 03:31
Or you can play a lil' bit with the toon shadings they can produce pretty good stuff.

Nyrath
03-May-06, 10:24
and one more thing, how can i remove this lines inside the objects?
I'm just a Blender nubie so I may not know what I am talking about.
I had a similar problem when I was using edges to make an image that looked like a blue-print.

In the Scene context (F10), in the Output window, there is a button labeled "Edge". If that is NOT pressed, my solution won't work so ignore the rest of this post.

If it is pressed, click the "Edge Setting" button. A tiny window will appear. In the Eint box is a number and two arrow controls. Use the controls to make the number about half of what is is currently. Then hit F12 to do a render and see if the interior lines are still there.

If they are, make the Eint value smaller and do another render.
If they are not there but the outline is too dim, make the Eint value slightly larger and do another render.
Keep playing with the Eint value until the image is to your liking.