technique tech
{
pass p0
{
ALPHABLENDENABLE = TRUE;
...
...
}
}
2. Does it do that at creation time (D3DXCreateEffectFromFile)?
3. Does it stores state block for each pass?
4. I guess it restores "old state" after EndPass() method?
5. What about sampler states?
texture decal_tex;
sampler decal_samp = sampler_state
{
Texture = <decal_tex>;
MIPFILTER = LINEAR;
MAGFILTER = LINEAR;
MINFILTER = LINEAR;
ADDRESSU = BORDER;
ADDRESSV = BORDER;
BORDERCOLOR = 0xFFFFFFFF;
};
Does it do the same thing?
Thanks for your time.