uniform fixed4 _RefPlan; v2f vert(appdata_tan v) { ....... float4 vt; vt = v.vertex; float4 objectRef = (unity_WorldToObject,_RefPlan);//line258编译通过 模拟器不通过手机通过 vt.xyz = reflect(vt.xyz,normalize(objectRef.xyz)); ........ } Tags Shading Unity Talk Artist Log in or register to post comments