现在的位置: 首页 > 综合 > 正文

4维向量

2018年05月27日 ⁄ 综合 ⁄ 共 135字 ⁄ 字号 评论关闭

graphics shader : Theory and practice 2

位置:w为1则点,w为0则向量。两向量先归一再加减

光:w为0则directional light,w为1则点光源

颜色:rgba

texture coordinate:stpq(q与w一样,p是第三维的贴图坐标)

抱歉!评论已关闭.