Kazafka Posted February 4, 2020 Share Posted February 4, 2020 I mean, I have render target, and dxDraw widgets in it. And so, how can I hide parts of widgets, which are apart from edges of render target? Look at this: [click]. Link to comment
Administrators Tut Posted February 5, 2020 Administrators Share Posted February 5, 2020 I believe you're looking for an alpha mask, but it's a little unclear what exactly is wanted. Have a look at these nonetheless. https://forum.multitheftauto.com/topic/60602-rel-50p-masking-textures-shader/ https://wiki.multitheftauto.com/wiki/Shader_examples (at the bottom, mask hud) I can only give these references since scripting is not my field. I hope it leads to help though. Link to comment
Kazafka Posted February 5, 2020 Author Share Posted February 5, 2020 7 hours ago, Tut said: I believe you're looking for an alpha mask, but it's a little unclear what exactly is wanted. Have a look at these nonetheless. https://forum.multitheftauto.com/topic/60602-rel-50p-masking-textures-shader/ https://wiki.multitheftauto.com/wiki/Shader_examples (at the bottom, mask hud) I can only give these references since scripting is not my field. I hope it leads to help though. Ok, im trying right now with another render target. Link to comment
Kazafka Posted February 5, 2020 Author Share Posted February 5, 2020 (edited) 8 hours ago, Tut said: I believe you're looking for an alpha mask, but it's a little unclear what exactly is wanted. Have a look at these nonetheless. Yet another question, how to fix this weird ugly clamp, etc.: [click] (minimap on left-bottom corner). I am using this code: [click]. Edited February 5, 2020 by VaporZ 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