unity使三维物体不被其他物体遮挡

核心:更改zwrite shader代码如下: Shader "Custom/ZOffShader" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} } SubShader { Tags { "RenderType"="Transparent" "Queue" = "Geometry+1"} LOD 200 Pass{ Color
相关文章
相关标签/搜索