I. Does cocos2dx 3.2 not support cubemap? Ii. shader implementation is required for Illumination

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.