I:
Cocos2dx 3.2 does not support cubemap yet?
Because the bindtexture method encapsulated by cocos2dx needs to be called, it is found that only 2 dtexture can be bound, and it is powerless to cube_map. Don't feel tired ......
Can you try again?
It means that the sky box is under cocos2dx and the cubemap provided by opengles cannot be used to implement it ........
II:
After learning OpenGL ES 2.0, I searched for a lot of online tutorials. I tried gllight * function with the code, but it was not easy to use. An annoyance.
Finally, I found an opengles2.0 iPhone tutorial that mentioned: Because 2.0 is a programmable pipeline, 2.0 removes the light and fog functions provided by the system within 1.1. Illumination can be easily implemented through shader.
No wonder there is no code in the post about how lighting works everywhere.
PS: You need to be careful in learning.
I. Does cocos2dx 3.2 not support cubemap? Ii. shader implementation is required for Illumination