darhal Posted August 31, 2015 Share Posted August 31, 2015 (edited) Hello ; I made car shader script but shaders are not applying correctly here is my code that apply sahder : local mainShader = dxCreateShader ( "material/effect.fx",0,0, false, "vehicle") dxSetShaderValue( mainShader,"gTexture", texturePaths[path]) engineApplyShaderToWorldTexture(mainShader, "vehiclegrunge256", getPedOccupiedVehicle ( plr )) thx to all Edited August 31, 2015 by Guest Link to comment
Areion Posted August 31, 2015 Share Posted August 31, 2015 Just read this... https://wiki.multitheftauto.com/wiki/En ... rldTexture If you can't fix it with this help by your own, then I will help you... Link to comment
darhal Posted August 31, 2015 Author Share Posted August 31, 2015 I read it many times... Link to comment
darhal Posted August 31, 2015 Author Share Posted August 31, 2015 Problem Sloved PS: Areion ur link didnt help I fix i by my own but thx anyway 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