Jump to content

Texture layers


Dzsozi (h03)

Recommended Posts

Hello!

I have a simple question for people experienced with shaders. This might not be hard to do, but I am no expert when it comes to shaders. I would like to make a shader which allows me to add a texture on top of an existing texture. For example, let's say I want to make CJ's clothes dirty without replacing the actual clothing texture, but instead I could apply the shader on the player_torso (I guess), and if it is possibble, I could create a new texture which could be placed on the player_torso texture, but not replacing it, just adding the custom texture on top. I hope you understand me. So the question is, how can I make something like this possibble? If it's not a big favor, could somebody help me out with writing the fx shader file? I have 0 HLSL knowledge, so that would be really helpful.

Thank you for your reply in advance!

Link to comment

I would try duplicating the ped in zModeler, enlarging the size just BARELY on the duplicated layer and make it transparent, apply the dirt shader etc to the transparent layer, while the real ped is revealed behind the transparency/dirt layer.
As far as I know, you can't apply 2 shaders to the same instance.

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