MrDadosz Posted December 13, 2017 Share Posted December 13, 2017 Hello. I'm wordering how to make a shader, that replaces almost every texture in the game. I unpacked txd's and I wrote a simple to download files from FTP without using meta.xml (cause I don't want to force players to download more than 500 MB). And now I have a problem - 100% VRAM usage of my 4 GB graphics card. I can't use onClientElementStreamIn because these objects were created by GTA:SA, not map editor. Any ideas? Link to comment
King12 Posted December 13, 2017 Share Posted December 13, 2017 Use Dutchman101's script and learn about textures. https://community.multitheftauto.com/?p=resources&s=details&id=14907 Link to comment
MrDadosz Posted December 13, 2017 Author Share Posted December 13, 2017 (edited) I know how to use a shaders, I'm using them for custom paintjobs on cars but these are physical elements so I can use onClientStreamIn (max. 250 MB usage of VRAM, it depends on count of cars streamed), standard GTA objects aren't physical. I created script for HD roads, but when you're travelling VRAM only go higher, every texture is always in VRAM after it's loaded. I can use setTimer to delete everything but that's not a solution. Edited December 13, 2017 by MrDadosz 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