PapaBlueMarlin opened this issue on Aug 18, 2006 ยท 87 posts
bagginsbill posted Sat, 19 August 2006 at 2:13 PM
clr = ImageMap(":Runtime:Textures:Poser 6 Textures:James_Face_Color.jpg")
s = Surface(clr, 1, 1, .2, .5)
bruiseclr = Color(.5, .3, .6)
cx = .4
cy = .55
x = U - cx
y = V - cy
r = sqrt(x * x + y * y)
br = .06
maxblend = .7
bruiseblender = maxblend * Scale(r, br, br / 2)
#Finally I simpley blend the original Diffuse_Color (from above) with the bruise color
#using the bruiseblender I just calculated.
s.Diffuse_Color = Blend(s.Diffuse_Color, bruiseclr, bruiseblender)
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)