摘要: local prog = cc.GLProgram:create("res/shader/light2d.vsh","res/shader/light2d.fsh") prog:link() prog:updateUniforms() local progStat= cc.GLProgramState:create(prog) progStat:setUniformVec2("u_lightP... 阅读全文
posted @ 2018-12-15 14:43 冷夜 - 网游编程技术 阅读(577) 评论(0) 推荐(0) 编辑