The irrlicht openges2.0 dosen't support all the build-in materials now . I share this code for someone to have a preview of the normal map texture . I also changed the shader input type from vec4 to vec3 , but it may be not necessary .
bool COGLES2NormalMapRenderer::OnRender ...
Search found 2 matches
- Wed May 29, 2013 10:09 am
- Forum: Code Snippets
- Topic: opengles2.0 normal map shader
- Replies: 0
- Views: 1637
- Wed May 29, 2013 9:50 am
- Forum: Advanced Help
- Topic: pvrtc texture compression for the iPhone
- Replies: 6
- Views: 1792
Re: pvrtc texture compression for the iPhone
The latest ogl-es branch already support PVR (revision 3) image formats with ETC1, ETC2, PVRTC1 and PVRTC2 compression types. Currently only OGL ES2 driver support above formats, but in next 1-2 days also OGL ES1 driver should get support for it. :lol:
Thanks! I have received the update . Haha ...
Thanks! I have received the update . Haha ...