1. 先画场景
2. 画被遮挡的部分, ZWrite=False; ZFunc=Greater; 开启Alpha混合, 光照亮度做为alpha值输出, 颜色由参数传入.
3. 还原正常的渲染状态, 绘制原模型(为了显示未被遮挡的部分)
Copyright @ 2024 雨亭 Powered by .NET 9.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster