amirmahdi Posted November 7, 2022 Posted November 7, 2022 Hello friends, I use the following resource, which makes the light of the car show with better pixels dl_vehicles | Multi Theft Auto | Community But there is a problem That this light can only be seen on the game's default textures For example, in the photo below, I have changed the texture of the streets of the game, but the light of the car cannot be seen But the light of the car can be seen on the default texture of the street Is there a way to solve this problem, for example editing the fx file or anything that will solve the problem?
Scripting Moderators thisdp Posted November 11, 2022 Scripting Moderators Posted November 11, 2022 (edited) how did you replace the texture, shader or engine function? Edited November 11, 2022 by thisdp
amirmahdi Posted November 11, 2022 Author Posted November 11, 2022 5 hours ago, thisdp said: how did you replace the texture, shader or engine function? For the car lights, I don't know exactly what engine was used, I only know that the .fx file was used The road textures are also from the .fx file , jpg file is used to replace the road texture Using engineApplyShaderToWorldTexture
Scripting Moderators thisdp Posted November 12, 2022 Scripting Moderators Posted November 12, 2022 19 hours ago, amirmahdi said: For the car lights, I don't know exactly what engine was used, I only know that the .fx file was used The road textures are also from the .fx file , jpg file is used to replace the road texture Using engineApplyShaderToWorldTexture then you have to set "layered"' argument to the texture replace shader https://wiki.multitheftauto.com/wiki/DxCreateShader
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