Jump to content

Changing green color from world textures


Spc

Recommended Posts

Posted

Hey, I want to change green elements from the world (grass, trees). I want to change them so that the world looks deserted (maybe just simply darken them). Is there any way to do that? For example shader or just changing textures.

  • Moderators
Posted (edited)

1. With a simple shader:

https://wiki.multitheftauto.com/wiki/Element/Shader#Simple

 

2. Create shader:

https://wiki.multitheftauto.com/wiki/DxCreateShader

 

3. Find texture names you want to replace:

https://wiki.multitheftauto.com/wiki/Shader_examples#Texture_names

 

4. Create a texture of desert image:

https://wiki.multitheftauto.com/wiki/DxCreateTexture

 

5. Set the texture to the shader with dxSetShaderValue

https://wiki.multitheftauto.com/wiki/DxSetShaderValue

 

6.Apply shader to world:

https://wiki.multitheftauto.com/wiki/EngineApplyShaderToWorldTexture

Edited by IIYAMA
  • Thanks 1

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