I`ve been messing with alpha planes for what feels like ages now and I know alpha sorting is a no go with the max view port.
With that said, I was wondering if anyone knew if alpha test, I.E. 1 bit alphas sort properly, and if they do- how would one set up the shader??
thanks in advance.
Replies
http://www.lumonix.biz/yabb/YaBB.pl?num=1217140563
I`ve been messing a bit with .fx files and have yet to find any documentation on alpha test stuff. I guess its onto to shaderFX. but ONLY cause it has Clowards stamp of approval :P
thanx for the new lead Eric-
http://msdn.microsoft.com/en-us/library/bb172254(VS.85).aspx
while this refers to c++. the same keywords are used in .fx (just stripped the prefix)
so inside an .fx in the "pass" you would do
in that case alpha values greater 0 will pass the test
Alex
Polygons are sorted in order of creation. At least in Max 8.
So as a hack you can detach all of the masked polies/elements and attach them in the order you want them to be sorted. That's what I recall at least.