Jump to content

Help in Shaders!


Recommended Posts

Posted

Подскажите пожалуйста как мне сделать невидимую маску вокруг стикера.

Чтобы видно было цвет авто? Стикеры на авто рисую через DxDrawImagespacer.png

  • 5 months later...
Posted (edited)
#include "mta-helper.fx"

texture gTexture;

technique
{
	pass P0
    {
		Texture[0] = gTexture0;
		AlphaBlendEnable = true;
    }
	pass P1
    {
		Texture[0] = gTexture;
    }
}

 

Edited by XaskeL

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