Jump to content

[BUG] Shader - Texture


amirmahdi

Recommended Posts

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,

spacer.png

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

spacer.png

 

Is there a way to solve this problem, for example editing the fx file or anything that will solve the problem?

Link to comment
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

Link to comment
  • Scripting Moderators
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

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...