Good morning to dear enthusiasts. I am Francesco Longo (the one who is preparing the ferry "Iginia"). I'm now working on textures, particularly aging, with dirt and wrinkles. Could any of you tell me why the ship looks blue and the wrinkle looks blue too? Below I transmit to you the contents of the material file which, probably contains the error to correct:
Code
function data()
return {
order = 0,
params = {
albedo_scale = {
albedoScale = { 1, 1, 1, },
},
color_blend = {
albedoScales = { 1, },
colors = {
{ 0, 0, 0, },
},
},
dirt_rust = {
age = 0,
dirtColor = { 0.070588231086731, 0.06414071470499, 0.046782005578279, },
dirtOpacity = 0.31000000238419,
dirtScale = 9,
rustColor = { 0.29411762952805, 0.13517878949642, 0.072664350271225, },
rustOpacity = 0.5,
rustScale = 6,
},
fade_out_range = {
fadeOutEndDist = 20000,
fadeOutStartDist = 10000,
},
map_albedo_opacity = {
fileName = "models/vehicle/ship/gabbiano.tga",
type = "TWOD",
wrapS = "REPEAT",
wrapT = "REPEAT",
},
map_cblend_dirt_rust = {
fileName = "models/vehicle/ship/gabbiano_cblend_dirt_rust.tga",
type = "TWOD",
wrapS = "REPEAT",
wrapT = "REPEAT",
},
map_metal_gloss_ao = {
fileName = "models/vehicle/ship/gabbiano_metal_gloss_ao.tga",
type = "TWOD",
wrapS = "REPEAT",
wrapT = "REPEAT",
},
map_normal = {
fileName = "models/vehicle/ship/gabbiano_normal.tga",
redGreen = true,
type = "TWOD",
wrapS = "REPEAT",
wrapT = "REPEAT",
},
normal_scale = {
normalScale = 1,
},
polygon_offset = {
factor = 0,
forceDepthWrite = false,
units = 0,
},
two_sided = {
flipNormal = false,
twoSided = false,
},
},
type = "PHYSICAL_NRML_MAP_CBLEND_DIRT",
}
end
Alles anzeigen