Hi,
Is there anyone who knows where to get a Alpha to Coverage shader for unity ?
Or help me to write one because shader writing is not really my thing.
Thanks!
Hi,
Is there anyone who knows where to get a Alpha to Coverage shader for unity ?
Or help me to write one because shader writing is not really my thing.
Thanks!
I think you can still turn it on with AlphaToMask True. I’m not sure what the limitations are, though, or whether that even works any more or ever worked.
Bear in mind it requires anti-aliasing to be on (if it even works).
You get an extra level of alpha blend for each level of anti-aliasing you apply.
Yeah, Alpha to Coverage is strictly a feature of anti-aliasing. There are shaders which try to achieve similar results using alpha blending and testing together in separate passes, but these are traditional rendering methods that do not rely on anti-aliasing or hardware support.
Where do i need to put the AlphaToMask true ?
in the subshader or in the pass ?
I tried both of them and nothing happened i didn’t got the dots on the chainlink fences nor the leaves even with 8x MSAA on.
What to do now ?
It might simply not be possible in Unity.
Could be
I just found that alpha to coverage an dx10 technique is and it doesn’t work in dx9.
Does unity maybe uses dx9 for the renderer ?
if it is build on dx10 then there may not be a problem because my graphicscard supports dx10 and dx10.1