Jump to content

[QUESTION] About Shaders, fx and textures...


Platin

Recommended Posts

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

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 by Dutchman101
  • Like 1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...