[Unity]SurfaceShader:AlphaBlend之RenderTexture-Alpha写入

2019/11 20 19:11

alpha:fade – Enable traditional fade-transparency

https://docs.unity3d.com/Manual/SL-SurfaceShaders.html

在#pragma surface 中,添加了alpha:fade,就不会写入alpha
如果要写入alpha,删除alpha:fade