If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

-------------------------------------------------------------------------------------------------ORIGINAL POST (28-Aug-08):I've been testing GLSL and made a material similar to the known Z-Brush ¿clay?, and thought I'd share it in case anyone would like to use it. Needs some retouches, Z-Brush has some dirt/grayed effect that I was thinking to do with "normal input" in RAMPS, but seems like normal input doesn't work yet with GLSL
-------------------------------------------------------------------------------------------------

The Cavity Mask can be used with any two materials, the main and the one for the cavities. Note that it is intended for sculpting only, it has some limitations. The object must be centered in the viewport (NumPad point Key) or near for the normals to work properly.

[image]

Cavity Mask node setup: it can be used with any two materials. (Note that it has some limitations and is intended for sculpting only)
[image]

Sweet Dragon dreams, lovely Dragon kisses, gorgeous Dragon hugs. How sweet would life be to romp with Dragons, teasing you with their fire and you being in their games, perhaps they can even turn you into one as well.
Adventures in Cycles; My official sketchbook

What I would like to reproduce is the dirt in cavities, but don't know how to do it or if it's possible with actual materials in Blender. I was thinking RAMPS with normal input but it changes according to point of view, and for cavities I guess it counts the mesh density or the higher concave angles.

Yes, I selected "Blender GLSL materials" from game menu, "textured" viewport shading, and "shaded" drawtype for the object. Check this test screenshot that uses normal input with the colorband at the right. The front parts should look red too.

Thanks again for the comments. If anyone improves any of them feel free to post them here and I will add them to the first post. Also if I improve them later I will post them here.

Thanks for this Shaders.... looking very good!
Great for Sculpting!!!
i made a b.blend i use for Apricot Builds for sculpting (Including the 2 Materials from Eclectiel and my new Theme "X-treme)!
here is the Download link:

Made a second attempt for clay, now using material nodes. I like it better than the first, I see it more "clay". With nodes I could make a couple of tweaks that are not possible just with regular materials and ramps, and also has better response than the previous version under brighter lighting.

Here is an update. I tried to mimic that SSS feel of the Red-wax material and a couple of other details that it has. After trying different options none of them were giving that Zbrush feel, but could finally come up with a simple node setup that I think mimics this material better than the previous attempts.

Dude your thread depresses me. When I picked up blender last year I wanted a material just like yours to use when am sculpting now that its here my stupid laptop can't run glsl material due to the lack of decent 3d card. keep up the good work even though this is one party I can't join.