RichardCoffey opened this issue on Oct 10, 2010 · 35 posts
bagginsbill posted Thu, 14 October 2010 at 1:11 PM
To facilitate this, we'll find it very handy to use a mask - a pattern of white and black (or 1 and 0) that defines being in-segment versus out of segment.
This is really easy. We just magnify the height map and clamp it. I'll then use it to pick one of two colors for the surface.
m = Clamp(50 * h)
color = Blend(ORANGE, .5 * GREEN, m)
s = Surface(color, .8, 1, 1, .02)
s.Displacement = .3 * h
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)