|
|
I don't know if this is a problem or if I am doing something wrong, but when
I put a texture with a normal on a height field, and it is the only
texture, the texture looks fine. When I put the normal in a texture map, it
comes out looking very different. If someone could tell me what to do, it
would help a lot. here are the different codes(they are part of include
files)
this is single texture that looks fine:
texture {
pigment { color <1.0,0.0,0.0> }
finish { ambient 0.5 diffuse 0.2 brilliance 0.2 phong 0.5 phong_size
0.5 specular 0.3 roughness 0.05 metallic 0.3 reflection rgb<0,0,0>
reflection_exponent 0.3 }
normal { crackle bump_size 100.0 scale 0.08 }
scale 1.0
translate <0, -10, 0>
}
this is the same thing in a texture map, and it comes out very strange:
texture {
gradient y scale 1.0 texture_map { [0.3 pigment { color <1.0,0.0,0.0> }
finish { ambient 0.5 diffuse 0.2 brilliance 0.2 phong 0.5 phong_size
0.5 specular 0.3 roughness 0.05 metallic 0.3 reflection rgb<0,0,0>
reflection_exponent 0.3 }
normal { crackle bump_size 100.0 scale 0.08 } ]
[0.5 pigment { color <0.0,0.0,1.0> }
finish { ambient 0.5 diffuse 0.2 brilliance 0.2 phong 0.5 phong_size
0.5 specular 0.3 roughness 0.05 metallic 0.3 reflection rgb<0,0,0>
reflection_exponent 0.3 }
normal { agate agate_turb 0.0 bump_size 0.0 scale 1.0 } ] }
scale 1.0
translate <0, -10, 0> }
Post a reply to this message
|
|