POV-Ray : Newsgroups : povray.general : Parse Error: Cannot layer a patterned texture over another. : Parse Error: Cannot layer a patterned texture over another. Server Time
18 Jun 2024 10:10:19 EDT (-0400)
  Parse Error: Cannot layer a patterned texture over another.  
From: b
Date: 23 Sep 2014 18:30:01
Message: <web.5421f36eb06a23c15b482a740@news.povray.org>
I'm trying to render a realistic looking Earth. I'm texturing an image and
nomral map now I want to have specular map. I found I can do this with a
material_map however when I add that into the mix (shown below) I get the above
error. How can I have all 3 things: image_map, bump_map and material_map?



 54 sphere {0,1
 55   //finish { ambient 0.1 diffuse 0.5 specular 0.7 }
 56   //pigment { White }
 57   pigment {
 58       image_map {
 59         jpeg "earthmap4k.jpg" once map_type 2
 60       }
 61       translate <0,-0.5,0>
 62       scale <1,2,1>
 63   }
 64   normal {
 65     bump_map {
 66       jpeg "earthbump4k.jpg" once map_type 2
 67       bump_size 15.0
 68     }
 69     translate <0,-0.5,0>
 70     scale <1,2,1>
 71   }
 72   texture {
 73       material_map {
 74         jpeg "earthspec4k.jpg"
 75         once map_type 2
 76         //interpolate 2 once
 77         texture { LandTex }
 78         texture { WaterTex }
 79         }
 80       translate <0, -0.5, 0>
 81       scale <1,2,1>
 82   }
 83   rotate -180.0*y
 84 }


Post a reply to this message

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