摘要: 1.四个贴图混合 1 Shader "Custom/BlendTex_surface" { 2 Properties { 3 _RTexture("Red Channel Texture", 2D) = "" {} 4 _GTexture("Green Channel Texture", 2D) = 阅读全文
posted @ 2017-04-05 20:32 露夕逝 阅读(2650) 评论(0) 推荐(0)
摘要: 转载自http://blog.sina.com.cn/s/blog_442001420102vdux.html 矩阵的几何意义,它可以总结为3个容易理解的特性。 变换(Transformations) 你应该已经知道变换(transformation),它将任意3D点的坐标变换到另一个3D点的坐标。 阅读全文
posted @ 2017-04-05 15:12 露夕逝 阅读(6455) 评论(0) 推荐(0)
摘要: 1.Shader warning in 'Custom/1': Both vertex and fragment programs must be present in a CGPROGRAM. Excluding it from compilation. 这个我找了半天错,结果令人吐血,原来是把# 阅读全文
posted @ 2017-04-05 11:08 露夕逝 阅读(3781) 评论(0) 推荐(0)