Platin Posted July 20, 2017 Share Posted July 20, 2017 Hi, I was wondering if any of you could give me some advice or some information about shaders and how they work, and also if its possible, with .png, create some textures for the game and dont remplacing any of them at all. It really would be very useful to me, because on my own I only could make some shaders that change the colors of the screen at that's all. Thank you! Link to comment
MTA Anti-Cheat Team Dutchman101 Posted July 20, 2017 MTA Anti-Cheat Team Share Posted July 20, 2017 (edited) This is a good base resource/proof of concept for shader textures onto vehicle instances; https://forum.multitheftauto.com/topic/96136-rel-texture-replacement-shader-car-wraps-etc/ (because it's what you ask for, "using png" and not replace all of them (for unique vehicle instances) Make sure to read all replies.. inspect the code and fairly simple .fx technique. As you can see by that, you can do alot with LUA and a few simple fx lines. Also maybe @CodyJ(L) can help you out a bit.. and @Ren_712 is a true pioneer with fx/shader scripting within MTA. You can also download some random shader resources from community, and inspect the code. Participating on forums dedicated to fx coding can also help. @Platin - xNikoXD This may be useful: 1) https://gamedevelopment.tutsplus.com/tutorials/a-beginners-guide-to-coding-graphics-shaders--cms-23313 2) https://unity3d.com/learn/tutorials/topics/graphics/gentle-introduction-shaders 3) http://area.autodesk.com/blogs/the-3ds-max-blog/introduction-to-pixel-shaders-using-glsl Edited July 20, 2017 by Dutchman101 1 Link to comment
Platin Posted July 20, 2017 Author Share Posted July 20, 2017 Thank you for the answer. 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