Opengles 3.0 with Android24 Chatper 3.1 Layout Qualifier, Grouping Uniforms(UBO) https://github.com/dlgmlals3/OpenGLES3.0_Example/blob/main/Chapter_3/app/src/main/cpp/Scene/Cube.cpp OpenGLES3.0_Example/Chapter_3/app/src/main/cpp/Scene/Cube.cpp at main · dlgmlals3/OpenGLES3.0_ExampleContribute to dlgmlals3/OpenGLES3.0_Example development by creating an account on GitHub.github.comCube.cpp, CreateUniformBufferObject(), Render(), RenderCubeWithMapBuffer 참조=====================.. 2025. 2. 24. Chapter 2.5 VAO ? VBO ? ( 참고 ) 큐브 렌더링에 앞서 VBO와 VAO의 차이의 대해서 정리하자. **VAO (Vertex Array Object)**와 **VBO (Vertex Buffer Object)**는 모두 OpenGL에서 버텍스 데이터를 효율적으로 관리하고 렌더링하는 데 사용되는 객체입니다. 이 둘은 서로 보완적인 역할을 하며, 그래픽 파이프라인에서 버텍스 데이터를 처리하는 데 중요한 역할을 합니다. 그러나 VAO와 VBO는 그 목적과 기능이 다릅니다.1. VAO (Vertex Array Object)VAO는 버텍스 속성 상태를 저장하는 객체입니다. 이것은 버텍스 데이터의 포맷과 속성 설정을 관리합니다. VAO는 다음과 같은 정보를 저장합니다.VBO를 통해 바인딩된 버텍스 데이터의 속성 포인터 설정 (glVertexAttribP.. 2025. 2. 22. Chapter 2.1 Shader Build https://github.com/dlgmlals3/OpenGLES3.0_Example/blob/main/Chapter_2/app/src/main/cpp/Scene/Cube.cpp OpenGLES3.0_Example/Chapter_2/app/src/main/cpp/Scene/Cube.cpp at main · dlgmlals3/OpenGLES3.0_ExampleContribute to dlgmlals3/OpenGLES3.0_Example development by creating an account on GitHub.github.comInitModel() 함수를 부분을 보자. Original gl 셰이더 프로그램 컴파일을 하려면 아래 절차를 수행한다.1> 셰이더 생성 및 컴파일2> 프로그램 생성하여 셰이더.. 2025. 2. 22. Chapter 2.4 Culling https://github.com/dlgmlals3/OpenGLES3.0_Example/blob/main/Chapter_2/app/src/main/cpp/Scene/ManyCubes.cpp OpenGLES3.0_Example/Chapter_2/app/src/main/cpp/Scene/ManyCubes.cpp at main · dlgmlals3/OpenGLES3.0_ExampleContribute to dlgmlals3/OpenGLES3.0_Example development by creating an account on GitHub.github.comCulling() 컬링이라는 말은 잘라낸다는 의미이다.우리가 볼수 없는 면의 대해서 렌더링할 필요없는 부분까지 전부 렌더링을 하게 되면 성능저하가 발생될 것.. 2025. 2. 21. 이전 1 2 3 4 5 6 다음