Arsilex Posted September 5, 2013 Posted September 5, 2013 Existe alguna manera mas aparte de usar un shader para poner ropa personalizada?
Arsilex Posted September 6, 2013 Author Posted September 6, 2013 tiene que ser con shaders pero llevo como 2 horas intentando con shaders y no se cambia... PD: aver si alguien sabe cual es el error... pShader = dxCreateShader( 'clothestex.fx' ) if( pShader ) then local pTexture = dxCreateTexture( 'bandgang3.png' ) if( pTexture ) then dxSetShaderValue( pShader, 'gTexture', pTexture ) engineApplyShaderToWorldTexture( pShader, 'cj_ped_glasses' ) end end // Variable to fetch the texture from the script texture gTexture; // My nice technique. Requires absolutely no tools, worries nor skills technique TexReplace { pass P0 { // Set the texture Texture[0] = gTexture; // LET THE MAGIC DO ITS MAGIC! } }
Recommended Posts