Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

1.4.0beta6版本中使用shader报错

$
0
0

@ckisking 写道:

var glProgram_state = cc.GLProgramState.getOrCreateWithGLProgram(this._program);
glProgram_state.setUniformFloat("u_dH", h);
glProgram_state.setUniformFloat("u_dS", s);
glProgram_state.setUniformFloat("u_dL", l);

native平台上会出现
glProgram_state.setUniformFloat is not a function,但也不是每次都必现,有人遇到过吗。 之前版本都没这个问题

帖子: 5

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>