[EN] Fix: Material colors - JuniorDjjr/VehFuncs GitHub Wiki

Fix in painting materials

Understanding

ZModeler, as any other 3D software, is possible to paint materials.

However, it will only work within the GTA SA if...

  • The material is in same node that contains the vehicle painting (color primary, secondary etc) or some light material.
  • The material has some texture.
  • Was not reached the limit of paint materials.

For this reason, modelers prefer to use color textures to paint the part, which makes no sense and is wrong for various reasons (For example: Isn't necessary to use a texture for each color; Since the texture is just a color, it has no definition, so the texture doesn't need high definition, can be simply 1 pixel, in fact, with an 8 pixel line you already have a whole rainbow; If you put a white texture in the material, in most cases, it's already possible to paint it; No white or black texture is required as they are already available on the vehicle.txd; among other reasons...)
In order to reduce this bad behavior of GTA SA modelers, VehFuncs aims to solve absolutely all the problems of painting materials, so you can easily use the ZModeler (or 3DS Max, Blender etc) color tool without worrying, no longer needing additional textures.
Note: Parts installed by Tuning Mod already includes this fix without needing VehFuncs.