Am 05.03.2015 um 02:15 schrieb buke9:
> That looks amazing. The textures are great. I would love to see the code
> for the textures.
You'll need UberPOV for this:
------------------------------------------
#declare PlasticSpecularity = 1.0;
#declare PlasticRoughness = 0.001;
#declare PlasticFinish = finish {
emission 0
ambient 0.1
diffuse albedo 0.9
specular albedo PlasticSpecularity roughness PlasticRoughness
fresnel on
reflection { PlasticSpecularity fresnel on roughness PlasticRoughness }
conserve_energy
}
#declare PlasticInterior = interior {
ior 1.5
}
#declare White = material {
texture {
pigment { colour LegoClassicWhite }
finish { PlasticFinish }
}
interior { PlasticInterior }
}
------------------------------------------
Non-white bricks just have different pigments.
Post a reply to this message
|