POV-Ray : Newsgroups : povray.advanced-users : multipigment surface : Re: multipigment surface Server Time
26 Jun 2024 08:26:41 EDT (-0400)
  Re: multipigment surface  
From: Zeger Knaepen
Date: 28 Jul 2011 19:46:09
Message: <4e31f4c1$1@news.povray.org>
On 29/07/2011 0:25, Zeger Knaepen wrote:
> On 28/07/2011 21:25, PC John wrote:
> didn't test it, but I believe this should do the trick

just tested it, seems to me like it works, but it would actually be 
easier to do:

texture {
   average
   texture_map {
     //ambient
     [1
       pigment {[ambient pigment]}
       finish {diffuse 0 ambient 4}
     ]
     //diffuse
     [1
       pigment {[diffuse pigment]}
       finish {diffuse 4 ambient 0}
     ]
     //specular
     [1
       pigment {[specular pigment]}
       finish {diffuse 0 ambient 0 specular 4 metallic}
     ]
     //emission
     [1
       pigment {[emission pigment]}
       finish {diffuse 0 ambient 0 emission 4}
     ]
   }
}


Post a reply to this message

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