Spc Posted July 2, 2018 Share Posted July 2, 2018 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. Link to comment
Moderators IIYAMA Posted July 2, 2018 Moderators Share Posted July 2, 2018 (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 July 2, 2018 by IIYAMA 1 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