Jump to content

Paintjobs


dugasz1

Recommended Posts

Hello!

I have a few question about paintjobs.

-How can i use paintjobs which is given to the new car model? (It replace jester model and there are 4 paintjobs for it, i don't get it why 4? It have 3 paintjobs originally. Link And on the picture he buy always the 5th paintjob. Why?)

-Is it possible to give a paintjob for a car which haven't got original paintjob? For exapmle Infernus

-And can i give more paintjob for a car than it have got originally?

Link to comment

Sadly, i don't know much about shadders :/

I think i should use this :

bool engineApplyShaderToWorldTexture ( element shader, string textureName [, element targetElement = nil, bool appendLayers = true ] ) 

But how can i create a shadder element by a .txd file? Or a texture element is optimal too?

Link to comment

so you have a texture ...

local mytex = dxCreateTexture("my_texture.png")

local myshader = dxCreateShader("my_shader.fx")

dxSetShaderValue(myshader,"gTexture0",mytex)

engineApplyShaderToWorldTexture(myshader,"remap_supra92")

texture gTexture0; 
  
//-- Very simple technique 
technique texReplace 
{ 
    pass P0 
    { 
        //-- Set up texture stage 0 
        Texture[0] = gTexture0; 
    } 
} 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...