Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cube 的光亮和阴影效果出不来 #58

Open
zhimeilinzm opened this issue Jan 18, 2016 · 1 comment
Open

cube 的光亮和阴影效果出不来 #58

zhimeilinzm opened this issue Jan 18, 2016 · 1 comment

Comments

@zhimeilinzm
Copy link

我按照代码例子,设置了方块的光亮和阴影,可是运行后没有出来效果,没有光亮和阴影,方块没有任何变化

@lyj98
Copy link

lyj98 commented Mar 23, 2016

(GLKMatrix4)matrixFrom3DTransformation:(CATransform3D)transform
{
GLKMatrix4 matrix = GLKMatrix4Make(transform.m11, transform.m12, transform.m13, transform.m14,
transform.m21, transform.m22, transform.m23, transform.m24,
transform.m31, transform.m32, transform.m33, transform.m34,
transform.m41, transform.m42, transform.m43, transform.m44);

return matrix;
}

搬运的, 使用这个转一下就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants