Richard Swingwood wrote:
Matthew Hagerty wrote:
I'm trying to make a material that steps the surface illumination of
the object from 0 to 1 in <x> steps (32 in this particular case.)
Can anyone give me some ideas about how to go about it? I still
don't really totally understand what all the inputs I have to work
with. I think "map coords" will be a number between 0 and 1 over the
x,y,z of the material as it is mapped to the object, no?
Hi Matthew,
See the attached image for a VSL material that will do the business.
Regards
richard.
Thanks Richard! I did manage to work it out last night (took me about
2.5 hours), just before you sent your material... However, your method
is 3 operations shorter than mine, and I love learning better ways to do
things. I did change the level from "Surface Illumination" to "Surface
Properties" though. Not sure how that plays into the overall rendering
pipeline, but I like the results better. With Surface Illumination the
color of the object would seem to go to black, or near black. But with
illumination at 0, the color of the object should just be the normal
color of the object. Also, I added a curve to control the upper and
lower limits of the overall illumination. Oh, I also learned about the
Material Initialization level, I didn't know that existed. It worked
out very nicely, thanks again!
Matthew
