漂亮:)
可惜运行不了。。intel jpeg lib DLL不提供吗?还有相应的模型?
你用的gloss map就是高模的黑白光照图吧
detail normal + poly normal不太理解,不会混淆吗?
btw,可以直接获得默认切向量偏置距阵的location传入vs,vs里就不需要自己再建立此距阵了。
tangentBasisAttrib = glGetAttribLocationARB(prog, "tangentBasis");
glVertexAttribPointerARB(tangentBasisAttrib, 3, GL_FLOAT, GL_FALSE, 0, tangentArray);
glVertexAttribPointerARB(tangentBasisAttrib + 1, 3, GL_FLOAT, GL_FALSE, 0, binormalArray);
glVertexAttribPointerARB(tangentBasisAttrib + 2, 3, GL_FLOAT, GL_FALSE, 0, normalArray);
你把整包Demo 发给我 我给你放到FTP上
不用你分包了
谢谢先:)正在看凹凸映射,出的效果莫名其妙。给代码了好好研究研究:)
Please send me the ( source code ) to lk_host@hotmail.com
Kind Regards!
Can you send me the source too to my mail please : wate@email.si
Thak you!