1. Visualize interpolation
- Open the main.cpp file.
- Modify the vertex shader source code as follows:
Software developer with a focus on iOS
cmake_minimum_required(VERSION 3.6.0) add_library(native-library SHARED main.cpp) find_library(opengl-lib GLESv3) find_library(log-lib log) target_link_libraries(native-library ${opengl-lib} ${log-lib})
In order to create a new Android project with C/C++ support, click here and follow the instructions.
The only difference is that you will use a different API level:
Minimum API level: API 21: Android 5.0 (Lollipop)
[Read more…] about Android OpenGL ES – Part 1: Basic Setup