冯乐乐《shader入门精要》备忘录

1.广告牌 顶点函数 float3 center = float3(0,0,0); float3 viewer = mul(unity_WorldToObject,float4(_WorldSpaceCameraPos,1)); float3 normalDir = viewer - center; normalDir.y = normalDir.y * _VerticalBillboarding
相关文章
相关标签/搜索