POV-Ray : Newsgroups : povray.general : specular map? : Re: specular map? Server Time
31 Jul 2024 20:20:32 EDT (-0400)
  Re: specular map?  
From: FlyerX
Date: 18 Sep 2006 17:23:06
Message: <450f0e3a$1@news.povray.org>
You can try this for general blending:

material{

texture{

pigment_pattern{  //blending pigment_pattern
      	uv_mapping image_map{png "map.png" interpolate 2 }scale 1.0
	}
   texture_map{
        [0  //black -> texture 1
         //insert pigment1 here
	pigment{}
         //insert finish1 here
	finish{}
         //insert normal1 here
	normal{}
        ]
        [1  //white -> texture 2
         //insert pigment2 here
	pigment{}
         //insert finish2 here
	finish{}
         //insert normal2 here
	normal{}
        ]}scale 1.0}

             //insert interior here

         }


You can fill in the blanks. Remove the uv_mapping if your model does not 
use it.

This is what PoseRay (http://mysite.verizon.net/sfg0000/) does for the 
custom POV-Ray materials.

later,

FlyerX

jhu wrote:
> i have a texture that i'm using as a bump map. but i'd also like to use it
> as as specular map. since povray doesn't support specular maps, i'm
> assuming there's a way to do this with material maps. but i'm rather at a
> loss at how this is done. any help would be greatly appreciated. thanks!
> 
>


Post a reply to this message

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