Hi all,
i want to use HLSL change to texture alpha 100% to 30%. i tried search in internet. But not very well solution to do. Please somebody help.
Best Regards,
Hi all,
i want to use HLSL change to texture alpha 100% to 30%. i tried search in internet. But not very well solution to do. Please somebody help.
Best Regards,
HLSL Alpha channel problem?
omrivm
pixel.a = 0.3;
penninha
hi Inaki Ayucar,
Yes, How to change alpha
Tarey Wolf
Mmmmh, Can you explain it a bit further
You mean, in an HLSL shader, change the alpha component of a texture pixel’s color
Scotty12105
You may also need to set the right renderstates inside you technique:
// Alpha blending
AlphaBlendEnable = true;
SrcBlend = SrcAlpha;
DestBlend = InvSrcAlpha;
scoy
moondaddy
Hi S.
I tried your solution change my *.fx, but i can't display the texture in screen. It is because i need to add something in my codeing I want to draw somke effect in my game . So i want to change my smoke image 100% to 0%.