One problem is that this doesn't work with displacement. Decreasing bump
height based on AA means losing the height information for the
displacement.
Yes, I agree with that. I wonder how it would look in an animation though
:-)
Thanks for the detailed tips, I got them stored safely!
There was one significant error in the material. It appears that you need
to have a unit vector to get correct results on the slope angle, so add
the following:
*Variable v_mapz
*Normalize(Mapz, v_mapz)
*f_angle=dot product(Surface Normal, v_mapz)
Well, I made this material and it works pretty good. Then I decided I
wanted to try it out on something bigger, and somehow I just got stuck
with world-builder, great tool. But now, bedtime :-)
Karl