OpenGL ES 2.0 Practice 5 : Simple Texture두 개의 Triangle 에 Texture를 맵핑합니다. Texture 맵핑을 위해 Texture Binding, Texture Coordinate 설정, Shader 코드에 sampler 를 추가 합니다. 첫번째 Texture 초기화 코드 입니다. private void initTexture(Bitmap image) { int name[] = new int[1]; GLES20.glGenTextures(1, name, 0); if ( name[0] > 0 ) { GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, name[0]); // setting parameters GLES20.glTexParameter..
Programming/OpenGL ES
2016. 10. 23. 10:39
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- process
- texture
- 실전
- 프랙티스
- OPENGLES
- Scrum
- OpenGL
- smapler2D
- 프로세스
- light
- 토크
- 툴
- OpenGL ES
- practices
- talk
- TOOL
- XP
- Matrix
- OpenGL ES 2.0
- Android
- triangle
- 스크럼
- Practice
- 애자일
- aglie
- projection
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
글 보관함