Materials problem

SCS Software ATS and ETS2 editing using ZModeler3 filter. Models, Materials, Animation.

Moderators: Oleg, _RicH_

Materials problem

Postby Toma » Thu Jun 22, 2017 3:35 am

So my problem is i tried to make something new for ets2 and make materials like that 1ch for -ambientocclusion and the 2nd ch for the skin of the truck and the problem is my truck doesnt "see" the skin in game

Image

in log i dont have any errors about the mats

this is the material
Image
Image


and this is the mat:
Code: Select all
material : "eut2.dif.spec.add.env" {
   texture[0] : "/vehicle/truck/hcn/b.tobj"
   texture_name[0] : "texture_base"
   texture[1] : "/vehicle/truck/hcn/ciori.tobj"
   texture_name[1] : "texture_base"
   texture[2] : "/material/environment/vehicle_reflection.tobj"
   texture_name[2] : "texture_reflection"
   diffuse : { 1.0 , 1.0 , 1.0 }
   specular : { 0.4 , 0.4 , 0.4 }
   shininess : 250
   add_ambient : 0
   env_factor : { 0.268 , 0.268 , 0.268 }

}


i want to know what i should edit to solve this and my skin apear in ets2

this is how my truck looks in zmod
Image
Toma
 
Posts: 33
Joined: Mon Oct 22, 2012 5:01 am

Re: Materials problem

Postby Oleg » Thu Jun 22, 2017 9:03 pm

"dif.spec" shader does not support skinning. You should use "truckpaint" shader adaptation (type truckpaint in Adapt filed on material tile next to material name).
User avatar
Oleg
Site Admin
 
Posts: 7765
Joined: Fri Feb 06, 2004 3:54 am


Return to ATS and ETS2 by SCS Software

Who is online

Users browsing this forum: No registered users and 1 guest