Jump to content

Shaders


Phat Looser

Recommended Posts

Posted

Since shaders are the new strong issue of MTA, I wanted to open a discussion thread for it.

Like: How do shaders work, how to use shaders?

Its not about posting shaders themselves, but pipes and shaders are most complicated, as you have to understand GFX cards, pipes and the systems first.

I'll post some tutorials later, but actually, I don't really understand them so I have to start at zero.

Posted

I made a nitro shader myself. The color is customisable with a simple function, and can also be reset to the original. It doesn't look quite the same as original nitro, but I think it's very close.

shader10.jpg

Posted

Looks pretty cool, I think.

Just a question: Is it possible to access single elements at the moment?

Like, add a shader to THIS infernus, but not to THAT infernus. Would be intrestating.

What I am currently missing the most is sort of a list:

Object ID -> Texture Name.

Does anybody have a link?

Posted

I would like one too. If you are trying to get texture names of stuff like nitro, try checking the effects.fxp file. Using a simple search I found the texture for the nitro. As far as a full list, I have no idea where to get it.

Posted

What I am currently missing the most is sort of a list:

Object ID -> Texture Name.

Does anybody have a link?

https://wiki.multitheftauto.com/wiki/Eng ... xtureNames

but only way to apply the texture to only one of the model, not all on the screen is somehow checking the on-screen bounds of element you want to shade, and applying the shader only if pixel pos on screen is in the bounds( requires Pixel Shader 3.0(for the current pixel pos variable) and alot of skill.).

Posted

True story bro, but that doesn't make an offline list I could use with linux scripting new shaders.

Sorry for being annoying, but sometimes I need that, since i.e. i am scanning my father's hard drive for viruses atm, and since I don't live with him its a bit stupid to let the time pass by without actually scripting DAT SCRIPT I've been bugged with for a while: blood on a zombie...

  • MTA Team
Posted

I'll need that script for the first screenie, JR10. Please send it to me, and btw Tank07 im already making that minigame :P (FOR freeroam+)

  • 4 years later...
Posted

Hi guys!

Is it possible to put multiple shaders on one texture/object in such way:

1st shader: Replace original texture -> result1

2nd shader: Pick result1 and put its effects -> result2

3rd shader: Pick result2 and so on...

Thank you in advance.

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...