Car Painter
Simple example project to repaint car with a random color
Requires 3DRad 6.49
Requires Addon : http://www.3drad.com/addons/SystemShaders1_shx.php
Example project attached below.
Simple example project to repaint car with a random color
Code: [Select]
void Main()
{
float R=iFloatRand(0,1);
float G=iFloatRand(0,1);
float B=iFloatRand(0,1);
iShaderFloat3Set(OBJ_0,"cColor",R,G,B);
iScriptStop();
}
Requires 3DRad 6.49
Requires Addon : http://www.3drad.com/addons/SystemShaders1_shx.php
Example project attached below.