Rat32 Posted September 24, 2017 Share Posted September 24, 2017 Hello! I have shader (Gauss Blur), and I must draw it only on part of my image. For example:https://i.imgur.com/80mrBFa.png In MTA I must blur white section, but black section of image leave alone. It is possible? Link to comment
Moderators IIYAMA Posted September 24, 2017 Moderators Share Posted September 24, 2017 (edited) Yes it is possible. I just don't know how to do it with the shader file. But you can do it with lua: First draw the image: https://wiki.multitheftauto.com/wiki/DxDrawImage And then draw a section of the same image on top of it: https://wiki.multitheftauto.com/wiki/DxDrawImageSection Edited September 24, 2017 by IIYAMA 1 Link to comment
Ren_712 Posted September 26, 2017 Share Posted September 26, 2017 https://community.multitheftauto.com/index.php?p=resources&s=details&id=10163 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