GW_TRANSPARENCY is it broken in directx 11 nitrous ?

GW_TRANSPARENCY is it broken in directx 11 nitrous ?

klvnk
Collaborator Collaborator
379 Views
1 Reply
Message 1 of 2

GW_TRANSPARENCY is it broken in directx 11 nitrous ?

klvnk
Collaborator
Collaborator

Specifically when used with a texture.

 

gw->setTransform(Matrix3(1));
gw->setMaterial(mat); 

gw->setRndLimits(GW_TEXTURE|GW_TRANSPARENCY|GW_Z_BUFFER);
gw->setTransparency(GW_TRANSPARENCY);

gw->triStrip(wquad.size(), &wquad[0], pnorms, puvws, texnum);

gw->enlargeUpdateRect(NULL); 
gw->updateScreen();

gw->setTransparency(0);
gw->setRndLimits(rlim);

 

all works fine and as expected in  2010/2015/2020(dx9) but not 2020(dx11)... though the texture can be displayed but no alpha. Anyone run into this and found a solution ?

 

 

 

0 Likes
380 Views
1 Reply
Reply (1)
Message 2 of 2

klvnk
Collaborator
Collaborator

seems it's just a bit more picky and needs GW_TRANSPARENT_PASS set as well to work

0 Likes