POV-Ray : Newsgroups : povray.general : Glowing texture ? : Re: Glowing texture ? Server Time
30 Jul 2024 02:18:32 EDT (-0400)
  Re: Glowing texture ?  
From: BitViper
Date: 1 Dec 2009 14:53:55
Message: <4b157453$1@news.povray.org>
Alain wrote:

>> I am trying to create a texture in which selected parts, masked by an 
>> alpha mask in the image (png) will glow, even when little or no light 
>> is shining on the surface. Any sugestions ??
>>
>> bit
> 
> Any texture with a ambient >0 will glow by itself.
> Just set the underlying texture with an ambient value like "ambient 1", 
> and the mask with "ambient 0"
> If your scene use radiosity, those parts will actualy illuminate ther 
> surrounding, but NOT any media.

I tried that but pov objected. I tried with "ambient 1" in the texture 
itself, in the pigment, and in the image_map, and pov objects each time. 
where do i put the ambient ??

#declare my_texture = texture {
	pigment {
		image_map {
			png "my_image.png"
			map_type 1    // spherical
			interpolate 2 // bilinear
		}
	}
}

thanks

bit


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.