Hi Folks
Last time I already figure out why my model is wont appear in Model Viewer because the .mtl file. Now my model can appear in model viewer but there is a warning on the CMD about the c.tga is missing. I already followed the tutorial in this youtube video and he dont even crash https://www.youtube.com/watch?v=yCQUql-WkXk&t=556s. I already searched the forum about the c.tga but I still have no clue whats wrong with my mod
Code
function data()
return {
params = {
fade_out_range = {
fadeOutEndDist = 20000,
fadeOutStartDist = 10000,
},
map_color_reflect = {
compressionAllowed = true,
fileName = "models/vehicle/bus/Scania_K310_albedo_opacity.tga",
magFilter = "LINEAR",
minFilter = "LINEAR_MIPMAP_LINEAR",
mipmapAlphaScale = 0,
type = "TWOD",
wrapS = "REPEAT",
wrapT = "REPEAT",
},
map_env = {
compressionAllowed = true,
fileName = "c.tga",
magFilter = "LINEAR",
minFilter = "LINEAR",
mipmapAlphaScale = 0,
type = "CUBE_MAP",
wrapS = "REPEAT",
wrapT = "REPEAT",
},
props = {
coeffs = {
1, 1, 0.25, 20,
},
},
two_sided = {
twoSided = false,
},
},
type = "REFLECTIVE",
}
end
Alles anzeigen
This is my model *i'll fix the mesh later :p*
[Blockierte Grafik: https://preview.ibb.co/e47bXQ/Modelviewer.jpg]
this is the error
[Blockierte Grafik: https://image.ibb.co/eZCAsQ/cenv.jpg]
I really hope I can get some explanation and clue because im in love with this game eheheheh