POV-Ray : Newsgroups : povray.newusers : newbie vs. layered textures. Should be trivial, but... : Re: newbie vs. layered textures. Should be trivial, but... Server Time
14 May 2024 19:50:16 EDT (-0400)
  Re: newbie vs. layered textures. Should be trivial, but...  
From: Warp
Date: 19 Apr 2014 15:54:19
Message: <5352d46a@news.povray.org>
Scott M <nomail@nomail> wrote:
> #declare Plate  = box {<-4, .13, -4> <4, -.1, 4>
>    texture {
>      T_Brass_2A
>      // finish { specular 0.90 roughness 0.21 ambient 0.05 }
>      pigment {
>         color rgbt <0,0,0,1>
>      }
>     }
>  }
>  Plate

To make layered textures you need to put them in separate 'texture'
blocks, like this:

#declare Plate  = box {<-4, .13, -4> <4, -.1, 4>
   texture {
     T_Brass_2A
     // finish { specular 0.90 roughness 0.21 ambient 0.05 }
   }
   texture {
     pigment {
        color rgbt <0,0,0,1>
     }
    }
 }

-- 
                                                          - Warp


Post a reply to this message

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