John Smith Posted February 7, 2015 Share Posted February 7, 2015 hello i have tried applying shader to clothes, tried everything using textureName as CJ, using gTexture thing and applying it to clothes names etc and none of them worked and yet later on i found that arran did this with shaders (at least video says so) 2 years ago [ ]so does anyone know how can i replace any cloth with a shader? Link to comment
Enargy, Posted February 8, 2015 Share Posted February 8, 2015 is necessary using shaders? why did not try with engineLoadTXD & engineImportTXD? Link to comment
Tomas Posted February 8, 2015 Share Posted February 8, 2015 https://wiki.multitheftauto.com/wiki/Cl ... ponent_IDs Link to comment
John Smith Posted February 8, 2015 Author Share Posted February 8, 2015 I need shaders to use multiple versions of something onto 1 cloth also Tomas i really don't know how would that even help me in achieving what i'm trying to do Link to comment
Ren_712 Posted February 8, 2015 Share Posted February 8, 2015 Many people don't seem to notice that when creating shader that will be applied to peds one needs to state an optional argument elementType = "ped". Allso when you apply that shader to ped texture - i guess you would also state the element this shader is applied to as well. There is an interesting example - done for vehicle lights - you should check it out. Link to comment
Enargy, Posted February 8, 2015 Share Posted February 8, 2015 function replaceTXD() txd = engineLoadTXD("txdFile.txd") engineImportTXD( txd, 30152) --- afro hair id end addEventHandler("onClientResourceStart", resourceRoot, replaceTXD) Link to comment
Anubhav Posted February 9, 2015 Share Posted February 9, 2015 function replaceTXD() txd = engineLoadTXD("txdFile.txd") engineImportTXD( txd, 30152) --- afro hair id end addEventHandler("onClientResourceStart", resourceRoot, replaceTXD) Hey blind man, open your eyes. Do you even know what he is saying? No offence, but that is not at all A SHADER. He wants to apply a shader not a mod.. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now